Skip to content

Commit

Permalink
changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
lwshang committed Apr 24, 2024
1 parent fba4eb2 commit 299ff11
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@ Please see [extension-defined-canister-types](docs/concepts/extension-defined-ca

### feat: init_arg_file in dfx.json

In addition to setting `init_arg` in `dfx.json`, `init_arg_file` can be set in `dfx.json`.
- Please set a relative path to the directory where the the `dfx.json` is located.
- `init_arg` and `init_arg_file` cannot be set simultaneously.
- If `--argument` or `--argument-file` are provided, the argument from the command line takes precedence over the one in dfx.json.
Introduces support for the `init_arg_file` field in `dfx.json`, providing an alternative method to specify initialization arguments.

This field accepts a relative path, from the directory containing the `dfx.json` file.

**Note**

- Only one of `init_arg` and `init_arg_file` can be defined at a time.
- If `--argument` or `--argument-file` are set, the argument from the command line takes precedence over the one in dfx.json.

### Cycles wallet

Expand Down

0 comments on commit 299ff11

Please sign in to comment.