Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI entrypoint #6

Open
0xddom opened this issue Sep 1, 2020 · 0 comments
Open

CLI entrypoint #6

0xddom opened this issue Sep 1, 2020 · 0 comments

Comments

@0xddom
Copy link
Member

0xddom commented Sep 1, 2020

For the basic implementation we are going for a CLI application. However, not all CLIs are equal.

This medium post talks about good CLI interfaces.

We should strive to reach as much points as possible. The main problem with our CLI is that we have several things our application can do (training, detection, db management, etc). Two approaches can be used here:

  • One single executable that has several subcommands (i.e. git)
  • Several executables that share a common codebase (i.e. radare2)

Both approaches can work with rust due to how cargo compiles. Which approach to use will be then influenced by what CLI frameworks are available to use.

The Awesome Rust list can be a good starting point for trying out CLI frameworks to see what fits our needs the most and complies as much as possible with the 12 factor philosophy.

@0xddom 0xddom created this issue from a note in Basic implementation (To do) Sep 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant