Debian Codegraph @

examples/fake-git/push/git_push.go

raw symbols SCIP
1 package main
2
3 import (
4 "fmt"
5 "github.com/docopt/docopt-go"
6 )
7
8 func main() {
9 usage := `usage: git push [options] [<repository> [<refspec>...]]
10
11 options:
12 -h, --help
13 -v, --verbose be more verbose
14 -q, --quiet be more quiet
15 --repo <repository> repository
16 --all push all refs
17 --mirror mirror all refs
18 --delete delete refs
19 --tags push tags (can't be used with --all or --mirror)
20 -n, --dry-run dry run
21 --porcelain machine-readable output
22 -f, --force force updates
23 --thin use thin pack
24 --receive-pack <receive-pack>
25 receive pack program
26 --exec <receive-pack>
27 receive pack program
28 -u, --set-upstream set upstream for git pull/status
29 --progress force progress reporting
30 `
31
32 args, _ := docopt.ParseDoc(usage)
33 fmt.Println(args)
34 }