Skip to content

Commit

Permalink
Merge branch 'master' into update-frontend-templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason authored Dec 13, 2024
2 parents c2a09e3 + 26a976d commit e7dd1a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/cli-reference/dfx-canister.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ You can use the following options with the `dfx canister install` command.

#### Specifies the argument to pass to the init entrypoint

With `--argument-type`, you can specify the data format for the argument when you install using the `--argument` option. The valid values are `idl` and `raw`. By default, you can specify arguments using the [Candid](/docs/current/developer-docs/smart-contracts/candid/index) (`idl`) syntax for data values. For information about using Candid and its supported types, see [Interact with a service in a terminal](/docs/current/developer-docs/smart-contracts/candid/candid-howto#idl-syntax) and [Supported types](/docs/current/references/candid-ref). You can use `raw` as the argument type if you want to pass raw bytes to a canister.
With `--argument-type`, you can specify the data format for the argument when you install using the `--argument` option. The valid values are `idl` and `raw`. By default, you can specify arguments using the [Candid](/docs/current/developer-docs/smart-contracts/candid/candid-concepts) (`idl`) syntax for data values. For information about using Candid and its supported types, see [Interact with a service in a terminal](/docs/current/developer-docs/smart-contracts/candid/candid-howto#idl-syntax) and [Supported types](/docs/current/references/candid-ref). You can use `raw` as the argument type if you want to pass raw bytes to a canister.

### Arguments

Expand Down
2 changes: 2 additions & 0 deletions docs/cli-reference/dfx-deps.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import { MarkdownChipRow } from "/src/components/Chip/MarkdownChipRow";

Use the `dfx deps` command with flags and subcommands to pull dependencies from the mainnet and deploy locally.

[Learn how to configure a canister as `pullable`](https://internetcomputer.org/docs/current/developer-docs/smart-contracts/maintain/import).

The basic syntax for running `dfx deps` commands is:

``` bash
Expand Down

0 comments on commit e7dd1a2

Please sign in to comment.