-
Notifications
You must be signed in to change notification settings - Fork 371
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace positional arguments with flags in CLI (#2275)
* Updated CLI commands to take flags everywhere and updated e2e tests accordingly * Updated gm to use flags when calling Hermes * Added missing flags to e2e test for 'query client state' command * Fixed flag errors in e2e tests and removed conflicting short flag. * Removed all short flags and updated CLI commands comments * Removed forgotten short flags. * Updated Hermes guide with flags instead of positional arguments * Updated script and comment with new long flags for Hermes * Completed 'tx raw upgrade-' commands guide page. Updated Testing client upgrade guide page * Added changelog entry * Added example unit-tests to the 'keys add' command * Added value names to parameters and removed cli parsing unit-tests * Cargo fmt changes * Updated flags in order to reflect ADR 010 * Updated guide to reflect flag changes from ADR 010 * Updated gm script and e2e tests to match flag changes from ADR 010 * Fixed ADR 010 typo * Remove short flags from `key` error messages * Fix inconsistent error messaging in channel.rs * Fix more inconsistent error messaging * Run cargo fmt * Fix commands that use deprecated `-c` flag * Added the query transfer subcommand in docs. * Scrub query clients * Scrub query client state * Removed excessive debug line * Disabled filtering for query channels CLI * Added aliases for 'connection', 'channel' and 'sequence' flags * Fixed error in CLI replacing HeightQuery with QueryHeight * Fix cargo fmt * Changed 'version' to 'channel-version' for 'hermes create channel' command * Separated 'hermes create channel' help into short and long message * Updated 'hermes listen' so that '--events' flag can take multiple values * Updated guide with new '--events' flag for 'hermes listen' * Start all arguments help text with an uppercase letter, to match Clap's help for autogenerated arguments (eg. --help) * Update guide to account for argument help text starting with an uppercase letter * Add shortened aliases for `tx raw` commands Co-authored-by: Sean Chen <seanchen11235@gmail.com> Co-authored-by: Adi Seredinschi <adi@informal.systems> Co-authored-by: Romain Ruetschi <romain@informal.systems>
- Loading branch information
1 parent
aab2fb4
commit 57b8af9
Showing
89 changed files
with
1,869 additions
and
972 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
...gelog/unreleased/breaking-changes/ibc-relayer-cli/2239-changed-args-to-flags.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Updated all CLI commands to take flags instead of positional arguments. | ||
([#2239](https://github.com/informalsystems/ibc-rs/issues/2239)) |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.