Skip to content

fix(cli): add missing short flag -d for --dataset option #3

@Ableez

Description

@Ableez

The publish-images command currently fails when using the -d short flag, even though it is documented and used in task examples. the cli only recognizes the long-form --dataset option, leading to a No such option: -d error.

reproduction
Running the following command triggers the error:

anvil publish-images -d /path/to/dataset -u username --repo anvil-images

actual behavior
the cli returns: Error: No such option: -d

expected behavior
the -d flag should be mapped to the --dataset option to match the documentation and improve cli usability.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions