Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

unify sawtooth CLI argument behavior #2453

@mtbc

Description

@mtbc

Subcommands vary unexpectedly. E.g.,

  • for picking up a url set in $SAWTOOTH_HOME/etc/cli.toml instead of --url
  • parsing option -F as short for --format

then

  • identity and settings don't do those
  • block, peer, and state do those.

It's probably worth reviewing the command-line arguments across sawtooth's subcommands to look for easy opportunities for unification. With luck, some of this is a bit of copy-and-paste that can be factored out to a common helper.

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