-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
Description
Bug Description
Different commands use different flags for specifying output files, causing confusion:
| Command | File Flag | Notes |
|---|---|---|
design export |
-f, --file |
Works |
design import |
-f, --file |
Works |
design validate |
None | Missing file input flag |
rlhf export |
-o, --output |
Different from design |
Steps to Reproduce
# Design export uses -f
ainative-code design export -f /tmp/design.json
# RLHF export uses -o (not -f)
ainative-code rlhf export -f /tmp/rlhf.json
# Error: unknown shorthand flag: 'f' in -f
# Design validate has no file flag
ainative-code design validate -f /tmp/design.json
# Error: unknown shorthand flag: 'f' in -fExpected Behavior
Consistent flag naming across all commands:
- Either all use
-f/--file - Or all use
-o/--output
Suggested Fix
- Standardize on
-f/--filefor all file input/output - Add
-fflag todesign validate - Change
rlhf exportfrom-oto-f
Environment
- Version: v0.1.8
- Platform: darwin/arm64
Reactions are currently unavailable