SpacetimeDB icon indicating copy to clipboard operation
SpacetimeDB copied to clipboard

CLI: Refactor and reuse `Arg` parsers to ensure consistent UX

Open Centril opened this issue 1 year ago • 0 comments

Currently, parsers for e.g., --identity and friends are copy-pasted across our CLI code. It would be good to deduplicate these so that:

  1. we cut down on code, which is good for readability and bug reduction.
  2. we ensure a consistent UX in terms of flags, types, help messages, etc. This way, we avoid subtle differences.

Centril avatar Jun 20 '24 13:06 Centril