wrapper of git command-line
Project description
k3git
wrapper of git command-line
k3git is a component of pykit3 project: a python3 toolkit set.
k3git is wrapper of git command-line.
To parse a git command git --git-dir=/foo fetch origin
:
>>> GitOpt().parse_args(['--git-dir=/foo', 'fetch', 'origin']).cmds
['fetch', 'origin']
>>> GitOpt().parse_args(['--git-dir=/foo', 'fetch', 'origin']).to_args()
['--git-dir=/foo']
Install
pip install k3git
Synopsis
>>> GitOpt().parse_args(['--git-dir=/foo', 'fetch', 'origin']).cmds
['fetch', 'origin']
>>> GitOpt().parse_args(['--git-dir=/foo', 'fetch', 'origin']).to_args()
['--git-dir=/foo']
Author
Zhang Yanpo (张炎泼) drdr.xp@gmail.com
Copyright and License
The MIT License (MIT)
Copyright (c) 2015 Zhang Yanpo (张炎泼) drdr.xp@gmail.com
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
k3git-0.1.8.tar.gz
(8.1 kB
view hashes)
Built Distribution
k3git-0.1.8-py3-none-any.whl
(9.3 kB
view hashes)