Skip to content

Commit

Permalink
Behold the git_example.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Keleshev committed Jun 2, 2012
1 parent aca3f06 commit e8c620e
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions examples/git_example.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
"""Usage:
git_example.py remote [-v | --verbose]
git_example.py remote add [-t <branch>] [-m <master>] [-f]
[--tags|--no-tags] [--mirror] <name> <url>
git_example.py remote rename <old> <new>
git_example.py remote rm <name>
git_example.py remote set-head <name> (-a | -d | <branch>)
git_example.py remote set-branches <name> [--add] <branch>...
git_example.py remote set-url [--push] <name> <newurl> [<oldurl>]
git_example.py remote set-url --add [--push] <name> <newurl>
git_example.py remote set-url --delete [--push] <name> <url>
git_example.py remote [-v | --verbose] show [-n] <name>
git_example.py remote prune [-n | --dry-run] <name>
git_example.py remote [-v | --verbose] update [-p | --prune]
[(<group> | <remote>)...]
Options:
-v, --verbose
-t <branch>
-m <master>
-f
--tags
--no-tags
--mittor
-a
-d
-n, --dry-run
-p, --prune
--add
--delete
--push
--mirror
"""
from docopt import docopt


if __name__ == '__main__':
arguments = docopt(__doc__)
print(arguments)

0 comments on commit e8c620e

Please sign in to comment.