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).
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Description
The
convertandreducecommands used--fromand--toflags to specify input/output representations.These names are ambiguous and don't clearly describe what they control.
This PR renames them to
--input/--outputand adds-i/-oshort aliases for convenience.--fromto--input(-i) inconvertandreducecommands.--toto--output(-o) in theconvertcommand.StringVartoStringVarPto support the new short flags.Benefits
-iand-omake CLI usage more concise.Checklist
<type>/<description>). Always use underscores.