Skip to content

Commit 7983535

Browse files
committed
feat(NNS1-2261): Add examples for confirmation_text and restricted_countries to SNS-CLI's init-config-file new sub-command
1 parent dfec7ee commit 7983535

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

rs/sns/cli/src/init_config_file.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,8 @@ pub fn get_config_file_contents(sns_cli_init_config: SnsCliInitConfig) -> String
586586
# An optional text that swap participants should confirm before they may
587587
# participate in the swap. If the field is set, its value should be plain text
588588
# with at least 1 and at most 1,000 characters.
589+
#
590+
# Example: "Please confirm that 2+2=4"
589591
#"##
590592
.to_string(),
591593
),
@@ -595,6 +597,8 @@ pub fn get_config_file_contents(sns_cli_init_config: SnsCliInitConfig) -> String
595597
#
596598
# An optional set of countries that should not participate in the swap. If the
597599
# field is set, it must contain (upper case) ISO 3166-1 alpha-2 country codes.
600+
#
601+
# Example: ["CH", "FR"]
598602
#"##
599603
.to_string(),
600604
),

0 commit comments

Comments
 (0)