-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #523 from input-output-hk/smelc/output-format->yam…
…l-json --output format becomes --yaml|--json
- Loading branch information
Showing
16 changed files
with
77 additions
and
71 deletions.
There are no files selected for viewing
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
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
10 changes: 6 additions & 4 deletions
10
cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_view.cli
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 |
---|---|---|
@@ -1,13 +1,15 @@ | ||
Usage: cardano-cli conway governance action view --action-file FILE | ||
[--output-format STRING] | ||
[ --output-json | ||
| --output-yaml | ||
] | ||
[--out-file FILE] | ||
|
||
View a governance action. | ||
|
||
Available options: | ||
--action-file FILE Path to action file. | ||
--output-format STRING Optional governance action view output format. | ||
Accepted output formats are "json" and "yaml" | ||
(default is "json"). | ||
--output-json Format governance action view output to JSON. | ||
--output-yaml Format governance action view output to YAML. | ||
Defaults to JSON if unspecified. | ||
--out-file FILE Optional output file. Default is to write to stdout. | ||
-h,--help Show this help text |
8 changes: 4 additions & 4 deletions
8
cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_vote_view.cli
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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
Usage: cardano-cli conway governance vote view [--output-format STRING] | ||
Usage: cardano-cli conway governance vote view [--output-json | --output-yaml] | ||
--vote-file FILE | ||
[--out-file FILE] | ||
|
||
Vote viewing. | ||
|
||
Available options: | ||
--output-format STRING Optional governance vote view output format. Accepted | ||
output formats are "json" and "yaml" (default is | ||
"json"). | ||
--output-json Format governance vote view output to JSON. | ||
--output-yaml Format governance vote view output to YAML. Defaults | ||
to JSON if unspecified. | ||
--vote-file FILE Input filepath of the vote. | ||
--out-file FILE Optional output file. Default is to write to stdout. | ||
-h,--help Show this help text |
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.