Current Behavior
The imports and importers REPL commands use require_arg instead of parse_flags, so they do not support inline flags like --json, --include-dynamic, etc.
Expected Behavior
The imports and importers commands should be routed through parse_flags like other commands (trace, chain, cut, packages) so they support the same inline flag syntax.
Context
Inconsistent flag support across REPL commands is confusing for users.
Technical Details
Relevant Code
src/repl.rs — Command::parse
The imports and importers arms call require_arg(arg, ...) directly instead of parse_flags(&tokens).
Current Behavior
The
importsandimportersREPL commands userequire_arginstead ofparse_flags, so they do not support inline flags like--json,--include-dynamic, etc.Expected Behavior
The
importsandimporterscommands should be routed throughparse_flagslike other commands (trace, chain, cut, packages) so they support the same inline flag syntax.Context
Inconsistent flag support across REPL commands is confusing for users.
Technical Details
Relevant Code
src/repl.rs—Command::parseThe
importsandimportersarms callrequire_arg(arg, ...)directly instead ofparse_flags(&tokens).