Skip to content

[Feature] provides CLI interaction in the binary package. #448

@caiq1nyu

Description

@caiq1nyu

Motivations

the current configuration file-based startup mode is slightly complex for users and not rust enough for a binary package.
we don't plan to provide highly interactive features like a console interface for now, but we can provide command-line interactive capabilities similar to a CLI.

Solution

  • use clap to make binary files become a CLI tool.
  • compatible with previous configuration file startup logic
  • users can see help information by executing the CLI command, and can start a task using a command like
    cli --source=xx --target=xx --do_tbs=xx
    

the CLI will simplifies some configurations; instead, configuration files serve as a more advanced configuration mode.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions