Skip to content

Make sorting of help sane and move deprecated to bottom. #248

@sacherjj

Description

@sacherjj

Current output:

  put-deploy             [DEPRECATED: use `put-transaction` instead] Create a deploy and send it to the network for execution
  make-deploy            [DEPRECATED: use `make-transaction` instead] Create a deploy and output it to a file or stdout. As a file, the deploy can subsequently be signed by other parties using the 'sign-deploy' subcommand and then sent to the network for execution using the 'send-deploy' subcommand
  put-transaction        Create a transaction and send it to the network for execution
  make-transaction       Create a transaction and output it to a file or stdout. As a file, the transaction can subsequently be signed by other parties using the 'sign-transaction' subcommand and then sent to the network for execution using the 'send-transaction' subcommand
  sign-deploy            [DEPRECATED: use `sign-transaction` instead] Read a previously-saved deploy from a file, cryptographically sign it, and output it to a file or stdout
  sign-transaction       Read a previously-saved transaction from a file, cryptographically sign it, and output it to a file or stdout
  send-deploy            [DEPRECATED: use `send-transaction` instead] Read a previously-saved deploy from a file and send it to the network for execution
  send-transaction       Read a previously-saved transaction from a file and send it to the network for execution
  transfer               Transfer funds between purses
  make-transfer          Create a transfer deploy and output it to a file or stdout. As a file, the deploy can subsequently be signed by other parties using the 'sign-deploy' subcommand and then sent to the network for execution using the 'send-deploy' subcommand
  get-deploy             Retrieve a deploy from the network
  get-transaction        Retrieve a transaction from the network
  get-block              Retrieve a block from the network
  get-block-transfers    Retrieve all transfers for a block from the network
  list-deploys           Retrieve the list of all deploy hashes in a given block
  list-transactions      Retrieve the list of all transaction hashes in a given block
  get-state-root-hash    Retrieve a state root hash at a given block
  get-era-summary        Retrieve era information at a given block
  query-global-state     Retrieve a stored value from the network
  query-balance          Retrieve a purse's balance from the network
  query-balance-details  Retrieve a purse's balance and hold information from the network
  get-dictionary-item    Retrieve a stored value from a dictionary
  get-account            Retrieve account information from the network
  get-entity             Retrieve information for an addressable entity from the network
  get-reward             Retrieve information for a reward from the network
  get-auction-info       Retrieve the bids and validators as of either a specific block (by height or hash), or the most recently added block
  get-validator-changes  Retrieve status changes of active validators
  get-peers              Retrieve network identity and address of each of the specified node's peers
  get-node-status        Retrieve status of the specified node
  get-chainspec          Retrieve the chainspec of the network (to print the full TOML, run with '-vv')
  list-rpcs              List all currently supported RPCs
  keygen                 Generate account key files in the given directory
  account-address        Generate an account hash from a given public key
  generate-completion    Generate a shell completion script
  verify-contract        Verifies a smart contracts source code using verification service. The source code will be uploaded, built, and compared against the deployed contract binary. You may specify a path from which the code will be read and compressed from, or omit the path. If the path is omitted, the archive will be built from the current working directory.
  help                   Print this message or the help of the given subcommand(s)

Moving deprecated to the bottom makes sense.
Also joining similar commands makes sense. get-, list-, put- sign- make- transactions together, etc.
Should list-deploys be deprecated?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions