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

Add Arguments for Configuring Params in CLI #54

Open
lemorage opened this issue Oct 29, 2023 · 1 comment
Open

Add Arguments for Configuring Params in CLI #54

lemorage opened this issue Oct 29, 2023 · 1 comment

Comments

@lemorage
Copy link
Contributor

Currently, we need to adjust the value in the config file donkeytype-config.json manually (if we had one). Would it be nice that we can directly set and save these parameters in the CLI. For instance:

$ ./donkeytype config set duration 30
$ ./donkeytype config set uppercase true

Unlike the README examples like ./donkeytype --duration 60 --numbers true --uppercase true for on-the-fly configuration, this new option would allow us to persistently save these settings in the JSON configuration file.

@lemorage
Copy link
Contributor Author

Also, we can add another subcommand to see all the available config options like so: ./donkeytype config ls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants