Skip to content

Commit

Permalink
Update golden files
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimbo4350 committed Oct 10, 2024
1 parent 8d13e05 commit e227471
Show file tree
Hide file tree
Showing 6 changed files with 140 additions and 1 deletion.
45 changes: 44 additions & 1 deletion cardano-cli/test/cardano-cli-golden/files/golden/help.cli
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Usage: cardano-cli
( key
( address
| key
| node
| legacy
| byron
Expand All @@ -16,6 +17,48 @@ Usage: cardano-cli
| version
)

Usage: cardano-cli address (key-gen | key-hash | build | info)

Payment address commands.

Usage: cardano-cli address key-gen [--key-output-format STRING]
[ --normal-key
| --extended-key
| --byron-key
]
--verification-key-file FILEPATH
--signing-key-file FILEPATH

Create an address key pair.

Usage: cardano-cli address key-hash
( --payment-verification-key STRING
| --payment-verification-key-file FILEPATH
)
[--out-file FILEPATH]

Print the hash of an address key.

Usage: cardano-cli address build
( --payment-verification-key STRING
| --payment-verification-key-file FILEPATH
| --payment-script-file FILEPATH
)
[ --stake-verification-key STRING
| --stake-verification-key-file FILEPATH
| --stake-key-hash HASH
| --stake-script-file FILEPATH
| --stake-address ADDRESS
]
(--mainnet | --testnet-magic NATURAL)
[--out-file FILEPATH]

Build a Shelley payment address, with optional delegation to a stake address.

Usage: cardano-cli address info --address ADDRESS [--out-file FILEPATH]

Print information about an address.

Usage: cardano-cli key
( verification-key
| non-extended-key
Expand Down
13 changes: 13 additions & 0 deletions cardano-cli/test/cardano-cli-golden/files/golden/help/address.cli
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Usage: cardano-cli address (key-gen | key-hash | build | info)

Payment address commands.

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

Available commands:
key-gen Create an address key pair.
key-hash Print the hash of an address key.
build Build a Shelley payment address, with optional
delegation to a stake address.
info Print information about an address.
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
Usage: cardano-cli address build
( --payment-verification-key STRING
| --payment-verification-key-file FILEPATH
| --payment-script-file FILEPATH
)
[ --stake-verification-key STRING
| --stake-verification-key-file FILEPATH
| --stake-key-hash HASH
| --stake-script-file FILEPATH
| --stake-address ADDRESS
]
(--mainnet | --testnet-magic NATURAL)
[--out-file FILEPATH]

Build a Shelley payment address, with optional delegation to a stake address.

Available options:
--payment-verification-key STRING
Payment verification key (Bech32-encoded)
--payment-verification-key-file FILEPATH
Filepath of the payment verification key.
--payment-script-file FILEPATH
Filepath of the payment script.
--stake-verification-key STRING
Stake verification key (Bech32 or hex-encoded).
--stake-verification-key-file FILEPATH
Filepath of the staking verification key.
--stake-key-hash HASH Stake verification key hash (hex-encoded).
--stake-script-file FILEPATH
Filepath of the staking script.
--stake-address ADDRESS Target stake address (bech32 format).
--mainnet Use the mainnet magic id. This overrides the
CARDANO_NODE_NETWORK_ID environment variable
--testnet-magic NATURAL Specify a testnet magic id. This overrides the
CARDANO_NODE_NETWORK_ID environment variable
--out-file FILEPATH Optional output file. Default is to write to stdout.
-h,--help Show this help text
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Usage: cardano-cli address info --address ADDRESS [--out-file FILEPATH]

Print information about an address.

Available options:
--address ADDRESS A Cardano address
--out-file FILEPATH Optional output file. Default is to write to stdout.
-h,--help Show this help text
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Usage: cardano-cli address key-gen [--key-output-format STRING]
[ --normal-key
| --extended-key
| --byron-key
]
--verification-key-file FILEPATH
--signing-key-file FILEPATH

Create an address key pair.

Available options:
--key-output-format STRING
Optional key output format. Accepted output formats
are "text-envelope" and "bech32" (default is
"text-envelope").
--normal-key Use a normal Shelley-era key (default).
--extended-key Use an extended ed25519 Shelley-era key.
--byron-key Use a Byron-era key.
--verification-key-file FILEPATH
Output filepath of the verification key.
--signing-key-file FILEPATH
Output filepath of the signing key.
-h,--help Show this help text
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Usage: cardano-cli address key-hash
( --payment-verification-key STRING
| --payment-verification-key-file FILEPATH
)
[--out-file FILEPATH]

Print the hash of an address key.

Available options:
--payment-verification-key STRING
Payment verification key (Bech32-encoded)
--payment-verification-key-file FILEPATH
Filepath of the payment verification key.
--out-file FILEPATH Optional output file. Default is to write to stdout.
-h,--help Show this help text

0 comments on commit e227471

Please sign in to comment.