/rust-github_httpsable_cli

Execute git command with https-url (for GitHub).

Primary LanguageShellApache License 2.0Apache-2.0

github_httpsable_cli

crates version Travis-CI Status Appveyor Status license

Execute git command with https-url (for GitHub).

See git_httpsable for the programmatic API. See git_httpsable_cli for generic cli.

Example

$ GITHUB_ACCESS_TOKEN=__your_access_token__ \
  github-httpsable clone https://example.com/git/repo ./target_dir
# => git clone https://__your_access_token__:x-oauth-user@example.com/git/repo ./target_dir
$ GIT_HTTPSABLE_USERNAME=__your_access_token__ \
  github-httpsable push https://example.com/git/repo your_branch
# => git push https://__your_access_token__:x-oauth-user@example.com/git/repo your_branch

NOTE: Both GITHUB_ACCESS_TOKEN and GIT_HTTPSABLE_USERNAME are ok.

Install

Download from Latest release for your own environment.

or

$ cargo install github_httpsable_cli

changelog

changelog

License

MIT/Apache-2.0 © Sanemat