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

Implement root command for gibo.bat #40

Merged

Conversation

kai2nenobu
Copy link
Contributor

Before

> .\gibo.bat version
gibo 2.1.2 by Simon Whitaker <sw@netcetera.org>
https://github.com/simonwhitaker/gitignore-boilerplates

After

> .\gibo.bat version
gibo 2.2.2 by Simon Whitaker <sw@netcetera.org>
https://github.com/simonwhitaker/gibo

Copy link
Owner

@simonwhitaker simonwhitaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some differences between gibo and gibo.bat, so I decided not to keep the versions in sync.

v2.2 of gibo added the gibo root command, which is a pretty easy one to implement. Would you like to implement that in gibo.bat and then bump the version in gibo.bat to 2.2?

@kai2nenobu
Copy link
Contributor Author

@simonwhitaker OK, I'll try it.

@kai2nenobu kai2nenobu changed the title Make a version subcommand of gibo and gibo.bat the same Implement root command for gibo.bat Jul 17, 2019
@kai2nenobu
Copy link
Contributor Author

kai2nenobu commented Jul 17, 2019

(EDIT: Squash and modify version 2.2)

I've implemented root command for gibo.bat. Please review😄

> .\gibo.bat help
gibo 2.2 by Simon Whitaker <sw@netcetera.org>
https://github.com/simonwhitaker/gibo

Fetches gitignore boilerplates from github.com/github/gitignore

Usage:
    gibo [command]

Example:
    gibo dump Python NotepadPP >> .gitignore

Options:
    dump expr...  Dump boilerplate(s) to stdout
    help          Display this help text
    list          List available boilerplates
    root          Show the directory where gibo stores its boilerplates
    search expr   Search inside boilerplates for expr
    update        Update list of available boilerplates
    version       Display current script version
> .\gibo.bat root
C:\Users\kai2nenobu\AppData\Roaming\.gitignore-boilerplates
> set GIBO_BOILERPLATES=%USERPROFILE%\.gibo
> .\gibo.bat root
C:\Users\kai2nenobu\.gibo

@simonwhitaker
Copy link
Owner

Looks good! Thanks @kai2nenobu

@simonwhitaker simonwhitaker merged commit 54015c2 into simonwhitaker:master Jul 19, 2019
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

Successfully merging this pull request may close these issues.

None yet

2 participants