2 releases (1 stable)

Uses old Rust 2015

1.0.0 Nov 4, 2017
0.1.0 Nov 3, 2017

#51 in #access-token

MIT/Apache

7KB

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

Dependencies

~1.5MB
~50K SLoC