Releases: masutaka/github-nippou
v4.0.0
Changes from v3.2.0 (detail: v3.2.0...v4.0.0)
Before
ÛÛÛÛÛ
°°ÛÛÛ
ÛÛÛÛÛÛÛÛ ÛÛÛÛÛ ÛÛÛÛ °ÛÛÛÛÛÛÛ ÛÛÛÛÛ ÛÛÛÛ
°°ÛÛÛ°°ÛÛÛ°°ÛÛÛ °ÛÛÛ °ÛÛÛ°°ÛÛÛ°°ÛÛÛ °ÛÛÛ
°ÛÛÛ °°° °ÛÛÛ °ÛÛÛ °ÛÛÛ °ÛÛÛ °ÛÛÛ °ÛÛÛ
°ÛÛÛ °ÛÛÛ °ÛÛÛ °ÛÛÛ °ÛÛÛ °ÛÛÛ °ÛÛÛ
ÛÛÛÛÛ °°ÛÛÛÛÛÛÛÛ ÛÛÛÛÛÛÛÛ °°ÛÛÛÛÛÛÛ
°°°°° °°°°°°°° °°°°°°°° °°°°°ÛÛÛ
ÛÛÛ °ÛÛÛ
°°ÛÛÛÛÛÛ
°°°°°°
After
ÛÛÛÛ
°°ÛÛÛ
ÛÛÛÛÛÛÛ ÛÛÛÛÛÛ °ÛÛÛ ÛÛÛÛÛÛ ÛÛÛÛÛÛÛÛ ÛÛÛÛÛÛÛ
ÛÛÛ°°ÛÛÛ ÛÛÛ°°ÛÛÛ °ÛÛÛ °°°°°ÛÛÛ °°ÛÛÛ°°ÛÛÛ ÛÛÛ°°ÛÛÛ
°ÛÛÛ °ÛÛÛ°ÛÛÛ °ÛÛÛ °ÛÛÛ ÛÛÛÛÛÛÛ °ÛÛÛ °ÛÛÛ °ÛÛÛ °ÛÛÛ
°ÛÛÛ °ÛÛÛ°ÛÛÛ °ÛÛÛ °ÛÛÛ ÛÛÛ°°ÛÛÛ °ÛÛÛ °ÛÛÛ °ÛÛÛ °ÛÛÛ
°°ÛÛÛÛÛÛÛ°°ÛÛÛÛÛÛ ÛÛÛÛÛ°°ÛÛÛÛÛÛÛÛ ÛÛÛÛ ÛÛÛÛÛ°°ÛÛÛÛÛÛÛ
°°°°°ÛÛÛ °°°°°° °°°°° °°°°°°°° °°°° °°°°° °°°°°ÛÛÛ
ÛÛÛ °ÛÛÛ ÛÛÛ °ÛÛÛ
°°ÛÛÛÛÛÛ °°ÛÛÛÛÛÛ
°°°°°° °°°°°°
v3.2.0
Changes from v3.1.0 (detail: v3.1.0...v3.2.0)
[Feature] Upgrade sub command init
#68
Merge the following commands in Setup in README.md to sub command init
$ git config --global github-nippou.user [Your GitHub account]
$ git config --global github-nippou.token [Your GitHub access token]
Before
$ bundle exec bin/github-nippou init
This command will create a gist and update your `~/.gitconfig`.
Are you sure? [y/n] y
The github-nippou settings was created on https://gist.github.com/1a1f0598a7144842881c3d0a02158b31
And the gist_id was appended to your `~/.gitconfig`. You can
check the gist_id with following command.
$ git config --global github-nippou.settings-gist-id
Sub command init
has an ability of idempotency.
$ bundle exec bin/github-nippou init
** Already initialized.
Your `~/.gitconfig` already has gist_id as `github-nippou.settings-gist-id`.
After
github-nippou.user
and github-nippou.token
in ~/.gitconfig are updated by sub command init
.
$ bundle exec bin/github-nippou init
** github-nippou Initialization **
== [Step: 1/3] GitHub user ==
What's your GitHub account? masutaka
The following command will be executed.
$ git config --global github-nippou.user masutaka
Are you sure? [y/n] y
Thanks! You can get it with the following command.
$ git config --global github-nippou.user
== [Step: 2/3] GitHub personal access token ==
To get new token with `repo` and `gist` scope, visit
https://github.com/settings/tokens/new
What's your GitHub personal access token? ********
The following command will be executed.
$ git config --global github-nippou.token ********
Are you sure? [y/n] y
Thanks! You can get it with the following command.
$ git config --global github-nippou.token
== [Step: 3/3] Gist (optional) ==
1. Create a gist with the content of https://github.com/masutaka/github-nippou/blob/v3.1.0/config/settings.yml
2. The following command will be executed
$ git config --global github-nippou.settings-gist-id <created gist id>
Are you sure? [y/n] y
Thanks! You can get it with the following command.
$ git config --global github-nippou.settings-gist-id
And you can easily open the gist URL with web browser.
$ github-nippou open-settings
Sub command init
has an ability of idempotency even after the change.
$ bundle exec bin/github-nippou init
** github-nippou Initialization **
== [Step: 1/3] GitHub user ==
Already initialized. You can get it with the following command.
$ git config --global github-nippou.user
== [Step: 2/3] GitHub personal access token ==
To get new token with `repo` and `gist` scope, visit
https://github.com/settings/tokens/new
Already initialized. You can get it with the following command.
$ git config --global github-nippou.token
== [Step: 3/3] Gist (optional) ==
Already initialized. You can get it with the following command.
$ git config --global github-nippou.settings-gist-id
And you can easily open the gist URL with web browser.
$ github-nippou open-settings
Misc
- Add gem
yard
for development
v3.1.0
v3.0.0
Changes from v2.0.1 (detail: v2.0.1...v3.0.0)
[Feature] Change output format
-
Before
* [v3.0.0 - masutaka/github-nippou](https://github.com/masutaka/github-nippou/issues/59) by masutaka * [Enable to inject settings_gist_id instead of the settings - masutaka/github-nippou](https://github.com/masutaka/github-nippou/pull/63) by masutaka **merged!** * [Add y/n prompt to sub command \`init\` - masutaka/github-nippou](https://github.com/masutaka/github-nippou/pull/64) by masutaka **merged!** * [Add sub command \`open-settings\` - masutaka/github-nippou](https://github.com/masutaka/github-nippou/pull/65) by masutaka **merged!** * [Dockerize - masutaka/github-nippou](https://github.com/masutaka/github-nippou/pull/66) by masutaka **merged!**
-
After
### masutaka/github-nippou * [v3.0.0](https://github.com/masutaka/github-nippou/issues/59) by masutaka * [Enable to inject settings_gist_id instead of the settings](https://github.com/masutaka/github-nippou/pull/63) by masutaka **merged!** * [Add y/n prompt to sub command \`init\`](https://github.com/masutaka/github-nippou/pull/64) by masutaka **merged!** * [Add sub command \`open-settings\`](https://github.com/masutaka/github-nippou/pull/65) by masutaka **merged!** * [Dockerize](https://github.com/masutaka/github-nippou/pull/66) by masutaka **merged!**
[Feature] Customizable output format #58 by @ryz310
It should be run the new sub command init
.
$ github-nippou init
This command will create a gist and update your `~/.gitconfig`.
Are you sure? [y/n] y
The github-nippou settings was created on https://gist.github.com/ecfa35cb546d8462277d133a91b13be9
And the gist_id was appended to your `~/.gitconfig`. You can
check the gist_id with following command.
$ git config --global github-nippou.settings-gist-id
It requires gist
scope. Update your token on https://github.com/settings/tokens
[Feature] Introduce new sub command open-settings
Open the Gist URL with your web browser
$ github-nippou open-settings
Open https://gist.github.com/ecfa35cb546d8462277d133a91b13be9
[Feature] Dockerize
You can use the dockerized github-nippou via bin/docker-github-nippou
.
$ git clone https://github.com/masutaka/github-nippou.git
$ cd github-nippou/bin
$ ./docker-github-nippou help
Misc
v3.0.0 beta1
- [Feature] customizable output format #58 by @ryz310
-
Introduce new sub command
init
$ github-nippou init => 1. Create new Gist. => 2. Add github-nippou.settings-gist-id to ~/.gitconfig
-
It requires
gist
scope. Update your token on https://github.com/settings/tokens
-