-
Notifications
You must be signed in to change notification settings - Fork 426
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
Feature request for a resource configuration file #199
Comments
Hello @nkmathew thank you for reporting this and welcome to drive! |
In the home folder preferably. Placing one in the .gd folder seems unnatural |
I see, although drive supports an infinite number of accounts mounted, so maybe multiple different configurations. This is analogous to have a special .driveignore file for each account. |
Wasn't aware of that. Sounds fair |
I'll work on this later on when I get home, this is going to be a big win for lots of users because then defaults can be set once and for all. Thanks again for reporting this. |
👍 for this |
+1 |
Sorry for the really late reply folks. I had actually implemented most of it in mid May as you'll see from commits in the PR #259. However, I am not yet decided on how to get the unused flags per command, but I'll be working on that sometime this week. Please watch this space and thank you for your patience. |
Did you manage to get it working? |
Hello @nkmathew, unfortunately I haven't glued everything together yet. The trouble is piecing together the defaults and then the defined args: separately they are being parsed alright. What is left is figuring out if a flag was defined -- for that I worked on odeke-em/command@3e1c027. I'll try one more thing that I just got an idea for, to correlate defined flags, rc-read/default flags. |
Addressed by PR #259. Thank you for requesting this feature and for the patience. Please get the latest from master by running $ go get -u -v github.com/odeke-em/drive/drive-gen && drive-gen |
Something like a .driverc file? I use --hidden=true often and would like something other than aliases.
The text was updated successfully, but these errors were encountered: