-
Notifications
You must be signed in to change notification settings - Fork 273
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
Arguments from file example ? #28
Comments
It's simply @filename where there is one argument/flag per line. Perhaps the documentation could use some expansion though. |
And use |
@alecthomas Thank you. # cat config
127.0.0.1
8084 one more question, is that passable to using named arguments ? e.g. $ cat config
host=127.0.0.1
port=8084 |
If by named arguments you mean flags, then yes:
If you're talking about positional arguments, then no it does not support naming. |
Thank you ! |
Even with this, there is no example for how to actually use a config file. Can someone post a CLI example which uses a config file? |
|
Thanks @alecthomas. :) I tried this in combination with command line entries and I got the following:
I got:
If I use the |
This is a known issue (#148). @ support is not great :\ |
Ahh. Ok. I had not seen that issue. Thanks. I am able to get it working now if put all commands and subcommands in the file, but not if I add anything in the command line arguments. |
I didn't found about the case. Could somebody bring me one? Thanks
The text was updated successfully, but these errors were encountered: