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

New command line tool to initialise configuration #94

Open
davidorme opened this issue Nov 15, 2023 · 0 comments
Open

New command line tool to initialise configuration #94

davidorme opened this issue Nov 15, 2023 · 0 comments

Comments

@davidorme
Copy link
Collaborator

davidorme commented Nov 15, 2023

It would be cleaner if users could do something like:

safedata_config --init_user
safedata_config --init_site
safedata_config --init /specific/path/config.cfg

And end up with an initial configuration file with default values or gaps to fill in. This should probably be automatically generated from the CONFIGSPEC definition somehow: maybe see DiffSK/configobj#102. We'd need to do something about providing 'placeholder' defaults for all values, I think?

Maybe we could even link that into the taxondb tools to populate the file when they run?

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

No branches or pull requests

1 participant