You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,9 @@
1
1
# Changelog
2
2
3
-
## [0.4.0] - 2019-05-07
3
+
## [0.4.0] - 2019-05-11
4
+
### Added
5
+
* Added `--ssh_remote_format`, `--set_remote`, and `--remote_name` commands. These are global commands and must be used before the subcommand. Example: `gitpub --ssh_remote_format github -n "name"` Check README for more info.
6
+
4
7
### Changed
5
8
6
9
* This version encompasses changes to the CLI interface. It was re-written from structopt to use a clap app.
A small program to create remote git repositories from the command line.
13
13
14
14
USAGE:
15
-
gitpub [OPTIONS] <SUBCOMMAND>
15
+
gitpub [FLAGS] [OPTIONS] <SUBCOMMAND>
16
16
17
17
FLAGS:
18
-
-h, --help Prints help information
19
-
-V, --version Prints version information
18
+
-h, --help Prints help information
19
+
--set_remote Sets the remote of the local dir after successful creation.
20
+
--ssh_remote_format Attempts to convert the git remote url into ssh format. If it fails (the provider doesn't support ssh format), the remote isn't set.
21
+
-V, --version Prints version information
20
22
21
23
OPTIONS:
22
-
--endpoint <endpoint>
24
+
--endpoint <endpoint> Sets a custom endpoint to POST to, useful if you want a private instance and know the api matches one gitpub supports.
25
+
--remote_name <remote_name> Designates a custom name for setting remote. Defaults to origin.
23
26
24
27
SUBCOMMANDS:
25
28
bitbucket Create a repo on bitbucket.
26
29
github Create a repo on github.
27
30
gitlab Create a repo on gitlab.
28
31
help Prints this message or the help of the given subcommand(s)
eprintln!("The provider had an issue processing this request. Perhaps the repository already exists, or you're using an unsupported option. e.g. Enabling projects on a repo in an org that has them disabled.");
0 commit comments