Skip to content

Commit

Permalink
Changes to golden files WITH change to optparse-applicative
Browse files Browse the repository at this point in the history
  • Loading branch information
smelc committed Sep 18, 2024
1 parent 68ae94a commit 205056b
Show file tree
Hide file tree
Showing 761 changed files with 17,851 additions and 10,888 deletions.
14,671 changes: 9,062 additions & 5,609 deletions cardano-cli/test/cardano-cli-golden/files/golden/help.cli

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Usage: cardano-cli address key-hash
(--payment-verification-key STRING |
--payment-verification-key-file FILEPATH) [--out-file FILEPATH]
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.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
Usage: cardano-cli allegra 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]
Usage: cardano-cli allegra 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.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
Usage: cardano-cli allegra address key-gen
[--key-output-format STRING]
[--normal-key | --extended-key | --byron-key]
--verification-key-file FILEPATH --signing-key-file FILEPATH
Usage: cardano-cli allegra 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.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Usage: cardano-cli allegra address key-hash
(--payment-verification-key STRING |
--payment-verification-key-file FILEPATH) [--out-file FILEPATH]
Usage: cardano-cli allegra address key-hash (--payment-verification-key STRING |

--payment-verification-key-file FILEPATH)
[--out-file FILEPATH]

Print the hash of an address key.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
Usage: cardano-cli allegra genesis create-cardano
--genesis-dir DIR [--gen-genesis-keys INT] [--gen-utxo-keys INT]
[--start-time UTC-TIME] [--supply LOVELACE] [--security-param INT]
[--slot-length INT] [--slot-coefficient RATIONAL]
(--mainnet | --testnet-magic NATURAL) --byron-template FILEPATH
--shelley-template FILEPATH --alonzo-template FILEPATH
--conway-template FILEPATH [--node-config-template FILEPATH]
Usage: cardano-cli allegra genesis create-cardano --genesis-dir DIR
[--gen-genesis-keys INT]
[--gen-utxo-keys INT]
[--start-time UTC-TIME]
[--supply LOVELACE]
[--security-param INT]
[--slot-length INT]
[--slot-coefficient RATIONAL]
(--mainnet |
--testnet-magic NATURAL)
--byron-template FILEPATH
--shelley-template FILEPATH
--alonzo-template FILEPATH
--conway-template FILEPATH
[--node-config-template FILEPATH]

Create a Byron and Shelley genesis file from a genesis template and
genesis/delegation/spending keys.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
Usage: cardano-cli allegra genesis create-staked
[--key-output-format STRING] --genesis-dir DIR [--gen-genesis-keys INT]
[--gen-utxo-keys INT] [--gen-pools INT] [--gen-stake-delegs INT]
[--start-time UTC-TIME] [--supply LOVELACE]
[--supply-delegated LOVELACE] (--mainnet | --testnet-magic NATURAL)
[--bulk-pool-cred-files INT] [--bulk-pools-per-file INT]
[--num-stuffed-utxo INT] [--relay-specification-file FILEPATH]
Usage: cardano-cli allegra genesis create-staked [--key-output-format STRING]
--genesis-dir DIR
[--gen-genesis-keys INT]
[--gen-utxo-keys INT]
[--gen-pools INT]
[--gen-stake-delegs INT]
[--start-time UTC-TIME]
[--supply LOVELACE]
[--supply-delegated LOVELACE]
(--mainnet |
--testnet-magic NATURAL)
[--bulk-pool-cred-files INT]
[--bulk-pools-per-file INT]
[--num-stuffed-utxo INT]
[--relay-specification-file FILEPATH]

Create a staked Shelley genesis file from a genesis template and
genesis/delegation/spending keys.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
Usage: cardano-cli allegra genesis create-testnet-data
[--spec-shelley FILEPATH] [--spec-alonzo FILEPATH]
[--spec-conway FILEPATH] [--genesis-keys INT] [--pools INT]
[--stake-delegators INT | --transient-stake-delegators INT]
[--drep-keys INT | --transient-drep-keys INT] [--stuffed-utxo INT]
[--utxo-keys INT] [--total-supply LOVELACE]
[--delegated-supply LOVELACE] [--testnet-magic NATURAL]
[--relays FILEPATH] [--start-time UTC-TIME] --out-dir DIR
Usage: cardano-cli allegra genesis create-testnet-data [--spec-shelley FILEPATH]
[--spec-alonzo FILEPATH]
[--spec-conway FILEPATH]
[--genesis-keys INT]
[--pools INT]
[--stake-delegators INT |

--transient-stake-delegators INT]
[--drep-keys INT |
--transient-drep-keys INT]
[--stuffed-utxo INT]
[--utxo-keys INT]
[--total-supply LOVELACE]
[--delegated-supply LOVELACE]
[--testnet-magic NATURAL]
[--relays FILEPATH]
[--start-time UTC-TIME]
--out-dir DIR

Create data to use for starting a testnet.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
Usage: cardano-cli allegra genesis create
[--key-output-format STRING] --genesis-dir DIR [--gen-genesis-keys INT]
[--gen-utxo-keys INT] [--start-time UTC-TIME] [--supply LOVELACE]
(--mainnet | --testnet-magic NATURAL)
Usage: cardano-cli allegra genesis create [--key-output-format STRING]
--genesis-dir DIR
[--gen-genesis-keys INT]
[--gen-utxo-keys INT]
[--start-time UTC-TIME]
[--supply LOVELACE]
(--mainnet | --testnet-magic NATURAL)

Create a Shelley genesis file from a genesis template and
genesis/delegation/spending keys.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Usage: cardano-cli allegra genesis get-ver-key
--verification-key-file FILEPATH --signing-key-file FILEPATH
Usage: cardano-cli allegra genesis get-ver-key --verification-key-file FILEPATH
--signing-key-file FILEPATH

Derive the verification key from a signing key

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Usage: cardano-cli allegra genesis initial-addr
--verification-key-file FILEPATH (--mainnet | --testnet-magic NATURAL)
[--out-file FILEPATH]
Usage: cardano-cli allegra genesis initial-addr --verification-key-file FILEPATH
(--mainnet |
--testnet-magic NATURAL)
[--out-file FILEPATH]

Get the address for an initial UTxO based on the verification key

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Usage: cardano-cli allegra genesis initial-txin
--verification-key-file FILEPATH (--mainnet | --testnet-magic NATURAL)
[--out-file FILEPATH]
Usage: cardano-cli allegra genesis initial-txin --verification-key-file FILEPATH
(--mainnet |
--testnet-magic NATURAL)
[--out-file FILEPATH]

Get the TxIn for an initial UTxO based on the verification key

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Usage: cardano-cli allegra genesis key-gen-delegate
--verification-key-file FILEPATH --signing-key-file FILEPATH
--operational-certificate-issue-counter-file FILEPATH
Usage: cardano-cli allegra genesis key-gen-delegate --verification-key-file FILEPATH
--signing-key-file FILEPATH
--operational-certificate-issue-counter-file FILEPATH

Create a Shelley genesis delegate key pair

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Usage: cardano-cli allegra genesis key-gen-genesis
--verification-key-file FILEPATH --signing-key-file FILEPATH
Usage: cardano-cli allegra genesis key-gen-genesis --verification-key-file FILEPATH
--signing-key-file FILEPATH

Create a Shelley genesis key pair

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Usage: cardano-cli allegra genesis key-gen-utxo
--verification-key-file FILEPATH --signing-key-file FILEPATH
Usage: cardano-cli allegra genesis key-gen-utxo --verification-key-file FILEPATH
--signing-key-file FILEPATH

Create a Shelley genesis UTxO key pair

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Usage: cardano-cli allegra governance
(create-mir-certificate | create-genesis-key-delegation-certificate |
action)
Usage: cardano-cli allegra governance (create-mir-certificate |
create-genesis-key-delegation-certificate |
action)

Governance commands.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,26 @@
Usage: cardano-cli allegra governance action create-protocol-parameters-update
--epoch NATURAL (--genesis-verification-key-file FILEPATH)
[--min-fee-linear LOVELACE] [--min-fee-constant LOVELACE]
[--max-block-body-size WORD32] [--max-tx-size WORD32]
[--max-block-header-size WORD16] [--key-reg-deposit-amt NATURAL]
[--pool-reg-deposit NATURAL] [--pool-retirement-epoch-interval WORD32]
[--number-of-pools NATURAL] [--pool-influence RATIONAL]
[--treasury-expansion RATIONAL] [--monetary-expansion RATIONAL]
[--min-pool-cost NATURAL] [--min-utxo-value NATURAL]
[--extra-entropy HEX | --reset-extra-entropy]
[--decentralization-parameter RATIONAL]
[--protocol-major-version MAJOR --protocol-minor-version MINOR]
--out-file FILEPATH
Usage: cardano-cli allegra governance action create-protocol-parameters-update --epoch NATURAL
(--genesis-verification-key-file FILEPATH)
[--min-fee-linear LOVELACE]
[--min-fee-constant LOVELACE]
[--max-block-body-size WORD32]
[--max-tx-size WORD32]
[--max-block-header-size WORD16]
[--key-reg-deposit-amt NATURAL]
[--pool-reg-deposit NATURAL]
[--pool-retirement-epoch-interval WORD32]
[--number-of-pools NATURAL]
[--pool-influence RATIONAL]
[--treasury-expansion RATIONAL]
[--monetary-expansion RATIONAL]
[--min-pool-cost NATURAL]
[--min-utxo-value NATURAL]
[--extra-entropy HEX |

--reset-extra-entropy]
[--decentralization-parameter RATIONAL]
[--protocol-major-version MAJOR
--protocol-minor-version MINOR]
--out-file FILEPATH

Create a protocol parameters update.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
Usage: cardano-cli allegra governance create-genesis-key-delegation-certificate
(--genesis-verification-key STRING |
--genesis-verification-key-file FILEPATH |
--genesis-verification-key-hash STRING)
(--genesis-delegate-verification-key STRING |
--genesis-delegate-verification-key-file FILEPATH |
--genesis-delegate-verification-key-hash STRING)
(--vrf-verification-key STRING | --vrf-verification-key-file FILEPATH |
--vrf-verification-key-hash STRING) --out-file FILEPATH
Usage: cardano-cli allegra governance create-genesis-key-delegation-certificate (--genesis-verification-key STRING |

--genesis-verification-key-file FILEPATH |

--genesis-verification-key-hash STRING)
(--genesis-delegate-verification-key STRING |

--genesis-delegate-verification-key-file FILEPATH |

--genesis-delegate-verification-key-hash STRING)
(--vrf-verification-key STRING |

--vrf-verification-key-file FILEPATH |

--vrf-verification-key-hash STRING)
--out-file FILEPATH

Create a genesis key delegation certificate

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
Usage: cardano-cli allegra governance create-mir-certificate
((--reserves | --treasury) (--stake-address ADDRESS)
(--reward LOVELACE) --out-file FILEPATH |
stake-addresses | transfer-to-treasury | transfer-to-rewards)
Usage: cardano-cli allegra governance create-mir-certificate (
(--reserves |
--treasury)
(--stake-address ADDRESS)
(--reward LOVELACE)
--out-file FILEPATH |
stake-addresses |

transfer-to-treasury |

transfer-to-rewards)

Create an MIR (Move Instantaneous Rewards) certificate

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Usage: cardano-cli allegra governance create-mir-certificate stake-addresses
(--reserves | --treasury) (--stake-address ADDRESS) (--reward LOVELACE)
--out-file FILEPATH
Usage: cardano-cli allegra governance create-mir-certificate stake-addresses (--reserves |

--treasury)
(--stake-address ADDRESS)
(--reward LOVELACE)
--out-file FILEPATH

Create an MIR certificate to pay stake addresses

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Usage: cardano-cli allegra governance create-mir-certificate transfer-to-rewards
--transfer LOVELACE --out-file FILEPATH
Usage: cardano-cli allegra governance create-mir-certificate transfer-to-rewards --transfer LOVELACE
--out-file FILEPATH

Create an MIR certificate to transfer from the treasury pot to the reserves
pot
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Usage: cardano-cli allegra governance create-mir-certificate transfer-to-treasury
--transfer LOVELACE --out-file FILEPATH
Usage: cardano-cli allegra governance create-mir-certificate transfer-to-treasury --transfer LOVELACE
--out-file FILEPATH

Create an MIR certificate to transfer from the reserves pot to the treasury
pot
Expand Down
Loading

0 comments on commit 205056b

Please sign in to comment.