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

Default repository #342

Open
nkiesel opened this issue Aug 18, 2015 · 3 comments
Open

Default repository #342

nkiesel opened this issue Aug 18, 2015 · 3 comments

Comments

@nkiesel
Copy link

nkiesel commented Aug 18, 2015

It would be nice if attic could support a default repo settable as an environment variable (e.g. ATTIC_REPOSITORY). This should then allow attic list or attic info Monday (or attic info ::Monday if the previous is ambiguous) to be valid invocations.

@centminmod
Copy link

+1

That would be nice to have :)

@ThomasWaldmann
Copy link
Contributor

Good idea. :)

@nkiesel
Copy link
Author

nkiesel commented Aug 18, 2015

tried to do that by adding some code to Location.parse, but first problem is that the repo is a mandatory positional argument to most commands, and for some reason a default=default_repo (with default_repo initialized from env) added to add_argument did not work. Might look into that tomorrow once more.

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

3 participants