17 lines
452 B
Go
17 lines
452 B
Go
package cmdutil
|
|
|
|
// Global flags shared across all commands.
|
|
var (
|
|
Owner string
|
|
Repo string
|
|
Format string
|
|
Debug bool
|
|
Lang string
|
|
// Web, when true, asks shortcut commands to print and open the GitLink web
|
|
// URL corresponding to the resource they just operated on.
|
|
Web bool
|
|
// Demo, when true (or GITLINK_DEMO=1), routes every API call through the
|
|
// in-process mock transport so the CLI runs with no network and no token.
|
|
Demo bool
|
|
)
|