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

kdb: Support -F for all tools #2677

Open
markus2330 opened this issue May 8, 2019 · 4 comments

Comments

Projects
None yet
2 participants
@markus2330
Copy link
Contributor

commented May 8, 2019

In #2498 the -F option was introduced to load config from files. This is basically useful for (nearly) all kdb tools, e.g.:

kdb get -F ini:myfile.ini get /some/key

could get the key /some/key from the file myfile.ini without mounting the file.

@markus2330 markus2330 added the proposal label May 8, 2019

@kodebach

This comment has been minimized.

Copy link
Contributor

commented May 8, 2019

I agree that would be very useful, but IMO our priority for kdb command line options should be to move kdb over to using elektraGetOpts and implementing the hierarchical sub-commands mentioned in #265 and #2388. After that we can figure out, how the -F option could be implemented in a way that is generally useful (plugin config, multiple plugins, etc.)

@markus2330

This comment has been minimized.

Copy link
Contributor Author

commented May 8, 2019

I agree with the priority but, as you know, you cannot always choose what gets done first in a free software initiative. And -F is very useful for some use cases.

@markus2330

This comment has been minimized.

Copy link
Contributor Author

commented May 8, 2019

GitHub shows for me my answer before the one of @kodebach?

@kodebach kodebach referenced this issue May 8, 2019

Open

Meta-issue: Highlevel Code-generation #2680

0 of 9 tasks complete

@markus2330 markus2330 referenced this issue May 8, 2019

Merged

Highlevel codegen #2498

5 of 9 tasks complete
@kodebach

This comment has been minimized.

Copy link
Contributor

commented May 8, 2019

GitHub shows for me my answer before the one of @kodebach?

Same here, it seems there is an issue. A similar issue is happening in #2498, there I see my comments before yours...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.