Skip to content

bug(repl): imports/importers commands don't support inline flags #147

@rocketman-code

Description

@rocketman-code

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.rsCommand::parse

The imports and importers arms call require_arg(arg, ...) directly instead of parse_flags(&tokens).

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low prioritybugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions