feat: rename --from/--to flags to --input/--output #42

Merged
mvhutz merged 1 commits from feat/from-to into main 2026-02-07 04:31:57 +00:00
Owner

Description

The convert and reduce commands used --from and --to flags to specify input/output representations.
These names are ambiguous and don't clearly describe what they control.
This PR renames them to --input/--output and adds -i/-o short aliases for convenience.

  • Rename --from to --input (-i) in convert and reduce commands.
  • Rename --to to --output (-o) in the convert command.
  • Switch from StringVar to StringVarP to support the new short flags.

Benefits

  • Flag names now clearly indicate they refer to representations, not file paths.
  • Short aliases -i and -o make CLI usage more concise.

Checklist

  • Code follows conventional commit format.
  • Branch follows naming convention (<type>/<description>). Always use underscores.
  • Tests pass (if applicable).
  • Documentation updated (if applicable).
## Description The `convert` and `reduce` commands used `--from` and `--to` flags to specify input/output representations. These names are ambiguous and don't clearly describe what they control. This PR renames them to `--input`/`--output` and adds `-i`/`-o` short aliases for convenience. - Rename `--from` to `--input` (`-i`) in `convert` and `reduce` commands. - Rename `--to` to `--output` (`-o`) in the `convert` command. - Switch from `StringVar` to `StringVarP` to support the new short flags. ## Benefits - Flag names now clearly indicate they refer to representations, not file paths. - Short aliases `-i` and `-o` make CLI usage more concise. ## Checklist - [x] Code follows conventional commit format. - [x] Branch follows naming convention (`<type>/<description>`). Always use underscores. - [x] Tests pass (if applicable). - [ ] Documentation updated (if applicable).
mvhutz added 1 commit 2026-02-07 04:31:32 +00:00
Rename the representation flags for clarity and add short aliases:
- `--from` becomes `--input` / `-i`
- `--to` becomes `--output` / `-o`
mvhutz merged commit 58d0823069 into main 2026-02-07 04:31:57 +00:00
mvhutz deleted branch feat/from-to 2026-02-07 04:31:57 +00:00
Sign in to join this conversation.