Skip to main content

Github Workflow CLI —— hit

Pre-commit Downloads GitHub PyPI PyPI - Python Version

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.
  -h, --help  Show this message and exit.

Commands:
  auth   Get Github Auth for hit CLI.
  clean  Detele useless local and remote develop branch.
  clone  Fork + clone + initialize 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

Metadata

Release files for hit-cli 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hit-cli 0.0.4
File Size Uploaded
hit-cli-0.0.4.tar.gz 12.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hit-cli 0.0.4
File Interpreter ABI Platform
hit_cli-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 28.2 kB

Release files / hit-cli-0.0.4.tar.gz

Download URL hit-cli-0.0.4.tar.gz
Size 12.3 kB
Tags Source
SHA-256 checksum
How to use checksums
9a80a37f8b60cccfeb30a8365eb0fcc4f17ae7f018ce9bcc3e9b428558fd1d31
BLAKE2b-256 checksum
How to use checksums
415cc5d685fd78c419b9a2e9c5550d48a33ee851ad63df1a1a5aefa54a47efbb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.13

Release files / hit_cli-0.0.4-py3-none-any.whl

Download URL hit_cli-0.0.4-py3-none-any.whl
Size 15.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d7eb2613fd8dee2e12ebfb9796742cba0b312c9b2e6cb776e296c86b93d8c179
BLAKE2b-256 checksum
How to use checksums
cad128df224183949e9f0536c7c291c1feedf58fbef131b045aea549f47204e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.13

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page