fix: dfx sns example commands - #4490
Merged
Merged
Conversation
Signed-off-by: Linwei Shang <linwei.shang@dfinity.org>
Signed-off-by: Linwei Shang <linwei.shang@dfinity.org>
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
force-pushed
the
fix/dfx-sns-example-commands
branch
from
March 4, 2026 18:59
2c75be8 to
e472f56
Compare
lwshang
approved these changes
Mar 4, 2026
raymondk
reviewed
Mar 4, 2026
|
|
||
| ### 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`. |
Contributor
There was a problem hiding this comment.
@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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fix incorrect CLI commands in the
dfx snsdocumentation examples.The examples for
dfx sns validateanddfx sns deployincorrectly useddfx sns config createanddfx sns config validate, which are not validcommands. The correct commands are
dfx sns createanddfx 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 --helpoutput.Checklist: