Skip to main content

Graviti Github workflow CLI

Project description

Github Workflow CLI —— hit

The github pull request based workflow is quite tedious and complicated, hit CLI simplify the workflow by wrapping git CLI and github API.

Installation

hit CLI has below dependences:

Install hit CLI by pip:

pip3 install hit-cli

Usage

$ hit --help
Usage: hit [OPTIONS] COMMAND [ARGS]...

  Usage: 'hit' + COMMAND.

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  auth   Get Github Auth for hit CLI.
  clean  Detele useless local and remote develop branch.
  clone  Fork then clone the target github repo for hit CLI.
  land   Merge the pull request then clean and sync repo.
  pull   Sync the local and remote develop repo with upstream repo.
  push   Push the local branch to remote and create/update the pull request.

Shell completion

# add this to your ~/.bashrc
eval "$(_HIT_COMPLETE=source_bash hit)"
# add this to your ~/.zshrc
eval "$(_HIT_COMPLETE=source_zsh hit)"
# add this to your ~/.config/fish/completions/foo-bar.fish
eval (env _HIT_COMPLETE=source_fish hit)

See detailed info in Click Shell Completion

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hit-cli-0.0.1.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

hit_cli-0.0.1-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file hit-cli-0.0.1.tar.gz.

File metadata

  • Download URL: hit-cli-0.0.1.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.26.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.14.0 CPython/3.8.2

File hashes

Hashes for hit-cli-0.0.1.tar.gz
Algorithm Hash digest
SHA256 be6a657b957f4bd12f77d23c31bcd70ea8bf0e9bf5b08e8f729c3fab7e1bd9b8
MD5 40167e86862445577203a41d9cc75cb0
BLAKE2b-256 1a71c49d434c6af7400204e84d0b504bec9616ab49112d34b682a6864612cd32

See more details on using hashes here.

File details

Details for the file hit_cli-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: hit_cli-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.26.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.14.0 CPython/3.8.2

File hashes

Hashes for hit_cli-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 400c1bf5391b7cba9cf47f502196d40c8a3afac9b9018306bb3e1f4fde67ea98
MD5 f0929dae879ae63d92b6bdd995e435fe
BLAKE2b-256 78e805dbea93a164282e4e4e83487edb01f8c331b35c3177d4b5bc002e0dd958

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page