Skip to content

CLI 2.0 #1889

@gdlg

Description

@gdlg

Datumaro CLI should be flexible and powerful but also easy to use. In line with the Datumaro 2.0 major rework, we want to also revamp the command line as follows:

  • Commands and options should be reimplemented on top of the new Datumaro classes
  • Commands and options that are seldom used, or not worth maintaining, should be removed
  • Commands with an inconsistent or unfriendly interface should be redesigned

Preferably, the CLI should be reimplemented with a modern framework like Typer or similar.

Examples of commands with issues

Since contexts commands have been removed, the only remaining context command is util split_videos which can be used without a context. Thus it does not make sense to distinguish between context, context-free, and helper commands anymore.

Within this ticket, remove this distinction between command types. Also, rename util split_videos to split_videos since there are no other commands under util.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for Feature.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions