github-create 0.4 → 0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +2 -2
- data/bin/ghcreate +3 -3
- data/lib/github-create/version.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -17,12 +17,12 @@ Usage
|
|
17
17
|
Options
|
18
18
|
--------
|
19
19
|
|
20
|
-
`-c, --
|
20
|
+
`-c NAME, --create NAME` specifying the name of the repo to create
|
21
21
|
|
22
22
|
`-p, --private` create private repo
|
23
23
|
|
24
24
|
`--clear` clear github username, stored in $HOME/.github-create
|
25
25
|
|
26
|
-
`-r, --remote NAME` set the origin name. If not specified origin or github is used
|
26
|
+
`-r NAME, --remote NAME` set the origin name. If not specified origin or github is used
|
27
27
|
|
28
28
|
`-h, --help` displays help message
|
data/bin/ghcreate
CHANGED
@@ -9,7 +9,7 @@ remoteName = "origin"
|
|
9
9
|
OptionParser.new do |option|
|
10
10
|
option.banner = "github-create - to help you create github repos for your projects"
|
11
11
|
|
12
|
-
option.on("-p", "--private", "
|
12
|
+
option.on("-p", "--private", "creates private repo when this option is added") do
|
13
13
|
access = :private
|
14
14
|
end
|
15
15
|
|
@@ -18,11 +18,11 @@ OptionParser.new do |option|
|
|
18
18
|
exit
|
19
19
|
end
|
20
20
|
|
21
|
-
option.on("-c NAME", "--
|
21
|
+
option.on("-c NAME", "--create NAME", "specifying the name of the repo to create") do |n|
|
22
22
|
repoName = n
|
23
23
|
end
|
24
24
|
|
25
|
-
option.on("-
|
25
|
+
option.on("-r NAME", "--remote NAME", "set the origin name. If not specified origin or github is used") do |name|
|
26
26
|
remoteName = name
|
27
27
|
end
|
28
28
|
|