Skip to content

fix: dfx sns example commands - #4490

Merged
lwshang merged 7 commits into
masterfrom
fix/dfx-sns-example-commands
Mar 4, 2026
Merged

fix: dfx sns example commands#4490
lwshang merged 7 commits into
masterfrom
fix/dfx-sns-example-commands

Conversation

@dfinityianblenke

@dfinityianblenke dfinityianblenke commented Mar 4, 2026

Copy link
Copy Markdown
Contributor

Description

Fix incorrect CLI commands in the dfx sns documentation examples.

The examples for dfx sns validate and dfx sns deploy incorrectly used
dfx sns config create and dfx sns config validate, which are not valid
commands. The correct commands are dfx sns create and dfx sns validate,
matching the command table and basic usage sections on the same page.

How Has This Been Tested?

Documentation-only change. Verified corrected commands match the command
table in the same file and dfx sns --help output.

Checklist:

  • The title of this PR complies with Conventional Commits.
  • I have edited the CHANGELOG accordingly.
  • I have made corresponding changes to the documentation.

@dfinityianblenke
dfinityianblenke requested a review from a team as a code owner March 4, 2026 18:57
The examples for `dfx sns validate` and `dfx sns deploy` incorrectly
used `dfx sns config create` and `dfx sns config validate` instead of
the correct `dfx sns create` and `dfx sns validate` commands.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@dfinityianblenke
dfinityianblenke force-pushed the fix/dfx-sns-example-commands branch from 2c75be8 to e472f56 Compare March 4, 2026 18:59
@lwshang lwshang changed the title fix/dfx sns example commands fix: dfx sns example commands Mar 4, 2026
@lwshang
lwshang enabled auto-merge (squash) March 4, 2026 19:11
@lwshang
lwshang merged commit 5486aa3 into master Mar 4, 2026
36 of 37 checks passed
@lwshang
lwshang deleted the fix/dfx-sns-example-commands branch March 4, 2026 19:19
Comment thread CHANGELOG.md

### fix: correct `dfx sns` example commands in documentation

Fixed incorrect commands `dfx sns config create` and `dfx sns config validate` in the `dfx sns` CLI reference examples. The correct commands are `dfx sns create` and `dfx sns validate`.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dfinityianblenke based on https://github.com/dfinity/dfx-extensions/blob/main/extensions/sns/src/main.rs i don't think those are the correct commands either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants