Skip to content

Commit

Permalink
Adapt golden files
Browse files Browse the repository at this point in the history
  • Loading branch information
smelc committed Jun 13, 2024
1 parent d85a1bb commit de8b437
Show file tree
Hide file tree
Showing 8 changed files with 50 additions and 54 deletions.
40 changes: 19 additions & 21 deletions cardano-cli/test/cardano-cli-golden/files/golden/help.cli
Original file line number Diff line number Diff line change
Expand Up @@ -6404,6 +6404,7 @@ Usage: cardano-cli conway
| key
| genesis
| governance
| hash
| node
| query
| stake-address
Expand Down Expand Up @@ -6673,7 +6674,7 @@ Usage: cardano-cli conway genesis hash --genesis FILE

Compute the hash of a genesis file

Usage: cardano-cli conway governance (action | committee | drep | hash | vote)
Usage: cardano-cli conway governance (action | committee | drep | vote)

Governance commands.

Expand Down Expand Up @@ -7016,26 +7017,6 @@ Usage: cardano-cli conway governance drep metadata-hash --drep-metadata-file FIL

Calculate the hash of a metadata file.

Usage: cardano-cli conway governance hash (anchor-data | script)

Compute the hash to pass to the various --*-hash arguments of governance
commands.

Usage: cardano-cli conway governance hash anchor-data
( --text TEXT
| --file-binary FILE
| --file-text FILE
)
[--out-file FILE]

Compute the hash of some anchor data (to then pass it to other governance
commands).

Usage: cardano-cli conway governance hash script --script-file FILE
[--out-file FILE]

Compute the hash of a script (to then pass it to other governance commands).

Usage: cardano-cli conway governance vote (create | view)

Vote commands.
Expand Down Expand Up @@ -7067,6 +7048,23 @@ Usage: cardano-cli conway governance vote view [--output-json | --output-yaml]

Vote viewing.

Usage: cardano-cli conway hash (anchor-data | script)

Compute the hash to pass to the various --*-hash arguments of commands.

Usage: cardano-cli conway hash anchor-data
( --text TEXT
| --file-binary FILE
| --file-text FILE
)
[--out-file FILE]

Compute the hash of some anchor data (to then pass it to other commands).

Usage: cardano-cli conway hash script --script-file FILE [--out-file FILE]

Compute the hash of a script (to then pass it to other commands).

Usage: cardano-cli conway node
( key-gen
| key-gen-KES
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Usage: cardano-cli conway
| key
| genesis
| governance
| hash
| node
| query
| stake-address
Expand All @@ -21,6 +22,8 @@ Available commands:
key Key utility commands.
genesis Genesis block commands.
governance Governance commands.
hash Compute the hash to pass to the various --*-hash
arguments of commands.
node Node operation commands.
query Node query commands. Will query the local node whose
Unix domain socket is obtained from the
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Usage: cardano-cli conway governance (action | committee | drep | hash | vote)
Usage: cardano-cli conway governance (action | committee | drep | vote)

Governance commands.

Expand All @@ -9,6 +9,4 @@ Available commands:
action Governance action commands.
committee Committee member commands.
drep DRep member commands.
hash Compute the hash to pass to the various --*-hash
arguments of governance commands.
vote Vote commands.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
Usage: cardano-cli conway governance hash (anchor-data | script)
Usage: cardano-cli conway hash (anchor-data | script)

Compute the hash to pass to the various --*-hash arguments of governance
commands.
Compute the hash to pass to the various --*-hash arguments of commands.

Available options:
-h,--help Show this help text

Available commands:
anchor-data Compute the hash of some anchor data (to then pass it
to other governance commands).
to other commands).
script Compute the hash of a script (to then pass it to
other governance commands).
other commands).
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Usage: cardano-cli conway hash anchor-data
( --text TEXT
| --file-binary FILE
| --file-text FILE
)
[--out-file FILE]

Compute the hash of some anchor data (to then pass it to other commands).

Available options:
--text TEXT Text to hash as UTF-8
--file-binary FILE Binary file to hash
--file-text FILE Text file to hash
--out-file FILE The output file.
-h,--help Show this help text
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Usage: cardano-cli conway hash script --script-file FILE [--out-file FILE]

Compute the hash of a script (to then pass it to other commands).

Available options:
--script-file FILE Filepath of the script.
--out-file FILE The output file.
-h,--help Show this help text

0 comments on commit de8b437

Please sign in to comment.