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

Read command line arguments #2

Open
elie-g opened this issue Apr 1, 2021 · 0 comments
Open

Read command line arguments #2

elie-g opened this issue Apr 1, 2021 · 0 comments
Labels
todo Something to be done

Comments

@elie-g
Copy link
Member

elie-g commented Apr 1, 2021

Add the possibility to specify options via command line arguments. (see spf13/cobra)

Here are a few options that should be created:

  • -c, --config <path>: Path to a configuration file (see Create configuration #1)
  • -d, --data <path>: Path to a data file to load at start up.

Also, add options to set configuration parameters. (See #1)
For examle, -t, --timeout <ms> would set the connection timeout.

@elie-g elie-g added the todo Something to be done label Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
todo Something to be done
Projects
None yet
Development

No branches or pull requests

1 participant