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 turbiniactl config command #306
Comments
Hi @aarontp |
@shubhodeep9 Awesome, let me know if you're still interested! Sorry for the delay, I was out during the holidays. I think we just need to add a command line flag for something like --print-config, and then maybe add a method to turbinia/config/init.py to return a text representation of the loaded config that will be printed from turbiniactl.py. |
@aarontp I am still interested. |
Excellent. Let me know if you have any other questions. :)
…On Mon, Jan 7, 2019 at 10:19 PM Shubhodeep Mukherjee < ***@***.***> wrote:
@aarontp <https://github.com/aarontp> I am still interested.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#306 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACiyu5kTpKHuTQZiu-oZlLmQoKgnNTy1ks5vBDhvgaJpZM4YnJXt>
.
|
@aarontp do you want the feature to validate the config too? I see while loading there is a validation. |
@shubhodeep9 It would be a nice to have, but not required. Another nice to have would be to specify an arbitrary config file. Maybe instead of --print_config, the behavior could be a --check_config flag that when specified without any arguments validates and prints the current config file, but when a file is specified, it will load that config for validation/printing. |
@aarontp So I will work on having
Correct me on 1st point, I am yet to confirm on how a config file is chosen between 3, and if one can give any other name apart from the 3. |
It would be nice to have a 'turbiniactl config' command that would just print out the current config. It's also easy to just cat the config file, but it would be nice to have the command to show which config was loaded (because it can be loaded from several different places).
The text was updated successfully, but these errors were encountered: