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

ER: Change format of command line parameters #15

Closed
paolobellardone opened this issue Oct 20, 2020 · 1 comment
Closed

ER: Change format of command line parameters #15

paolobellardone opened this issue Oct 20, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@paolobellardone
Copy link
Collaborator

I suggest to use a more standard approach in command.line parameters, such as the one used by oci-cli and other tools.
For example, instead of using:
./dragon -load -db
I would use:
./dragon load -db
where "load" is the command and "-db " is the option of the command.
It would be clearer to understand and easier to maintain.

@paolobellardone paolobellardone added the enhancement New feature or request label Oct 20, 2020
@loiclefevre
Copy link
Owner

The purpose of CLI flags here is to add additional and optional steps for each run of dragon.
Hence by default, you'll ask for the creation of the database...
In case you also want to load data from local file then you can add the -load option on the command line...

Later, it will be the same approach with other flags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants