A python command-line for gitmoji
Project description
gitmopy
An interactive Python implementation of the Gitmoji standard: https://gitmoji.dev/
pip install gitmopy
$ gitmopy info
gitmopy info:
version : 0.1.0
app path: /Users/victor/.gitmopy
history : /Users/victor/.gitmopy/history.json
config : /Users/victor/.gitmopy/config.yaml
Current configuration:
skip_scope : False
skip_message : False
capitalize_title: True
enable_history : True
Update configuration with
$ gitmopy config
$ gitmopy config
❓ Configure gitmopy locally. Use 'space' to (de-)select, 'enter' to validate.
❯ ○ Skip commit scope
○ Skip commit message
◉ Capitalize commit title
◉ Remember commit history for auto-complete and emoji sorting
Config will be saved in /Users/victor/.gitmopy/config.yaml.
Get help with
$ gitmopy --help
Usage: gitmopy [OPTIONS] COMMAND [ARGS]...
╭─ Options ──────────────────────────────────────────────────────────────────╮
│ --install-completion Install completion for the current shell. │
│ --show-completion Show completion for the current shell, to │
│ copy it or customize the installation. │
│ --help Show this message and exit. │
╰────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ─────────────────────────────────────────────────────────────────╮
│ commit Commit staged files. Use --add to add all unstaged files if none │
│ is already staged │
│ config Configure gitmopy │
│ info Print gitmopy info │
╰────────────────────────────────────────────────────────────────────────────╯
$ gitmopy commit --help
Usage: gitmopy commit [OPTIONS]
Commit staged files. Use --add to add all unstaged files if none is already
staged
╭─ Options ──────────────────────────────────────────────────────────────────╮
│ --repo TEXT Path to the git repository [default: .] │
│ --add --no-add Whether or not to add all unstaged files if │
│ none is already staged │
│ [default: no-add] │
│ --push --no-push Whether to `git push` after commit. Disabled │
│ by default. │
│ [default: no-push] │
│ --dry --no-dry Whether or not to actually commit. │
│ [default: no-dry] │
│ --help Show this message and exit. │
╰────────────────────────────────────────────────────────────────────────────╯
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gitmopy-0.2.0.tar.gz
(12.3 kB
view details)
Built Distribution
gitmopy-0.2.0-py3-none-any.whl
(13.3 kB
view details)
File details
Details for the file gitmopy-0.2.0.tar.gz
.
File metadata
- Download URL: gitmopy-0.2.0.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.9.2 Darwin/22.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6905f4ba24c13cef98f8df0ff66b94f0fe0a740eedccbfceacfaef489ac247ad |
|
MD5 | 879e4ac4b40a4bc843bdb19dfd8cf50e |
|
BLAKE2b-256 | 7e35a142c588d939315893c348305124a2d2f5c3993063b14adc62cdc386f6be |
File details
Details for the file gitmopy-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: gitmopy-0.2.0-py3-none-any.whl
- Upload date:
- Size: 13.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.9.2 Darwin/22.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df83ad5974805cda7a894617986aafed9880b46b9bb38e38022778763f575a84 |
|
MD5 | 44f75b653ebd075cbf0592639234d8d0 |
|
BLAKE2b-256 | af602bb637735af2897e9a56cc5f5adf800ac1036c453c16c953fd39c0911efb |