-
Notifications
You must be signed in to change notification settings - Fork 190
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
support --repo
CLI option
#23
Conversation
@@ -10,12 +10,16 @@ program | |||
'base directory for all source files') | |||
.option('-s, --src <src>', | |||
'pattern used to select which files should be published', '**/*') | |||
.option('-r, --repo <repo>', | |||
'URL of the repository you\'ll be pushing to', | |||
'URL of the `origin` remote of the current directory') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need a third arg here otherwise it will be used as a default value if --repo is not specified
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops, don't know how that happened
👍 having this new arg would allow us to do this like:
|
cc @tschaub can we get this merged and bumped you think? |
updated; good to go now? |
Thanks for the contribution @cvan! |
Published as |
No description provided.