Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var App = &cli.App{ Name: "git-id", Usage: "Stupid git identity management (list | switch <id>)", ArgsUsage: "git-id <identity>", Flags: []cli.Flag{ flagConfig, }, Commands: []*cli.Command{ cmdClone, cmdWhoami, cmdAdd, cmdSet, cmdRemove, cmdRemote, cmdSetDefault, cmdHow, }, Action: func(ctx *cli.Context) error { args := ctx.Args() switch args.Len() { default: return fmt.Errorf("expected 0 or 1 arguments") case 0: return cmdRoot(ctx) case 1: return cmdSwitch(ctx, args.First()) } }, }
TODO: mention [-C] [-c, --config], putting it everywhere clutters
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.