-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflags.go
More file actions
41 lines (33 loc) · 835 Bytes
/
flags.go
File metadata and controls
41 lines (33 loc) · 835 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package main
import "github.com/urfave/cli"
var verboseFlag = cli.BoolFlag{
Name: "verbose, v",
Usage: "Enable verbose logging",
}
var forceFlag = cli.BoolFlag{
Name: "force, f",
Usage: "Force operation without confirmation",
}
var groupFlag = cli.StringFlag{
Name: "group, g",
Value: "ai-agents",
Usage: "OS group name for AI agent isolation",
}
var userFlag = cli.StringFlag{
Name: "user, u",
Value: "ai-runner",
Usage: "OS user name for AI agent isolation",
}
var exceptFlag = cli.StringSliceFlag{
Name: "except, e",
Usage: "Exceptions (e.g. --except api.anthropic.com)",
}
var configFlag = cli.StringFlag{
Name: "config, c",
Value: "",
Usage: "Path to config file (default: ~/.aigate/config.yaml)",
}
var dryRunFlag = cli.BoolFlag{
Name: "dry-run",
Usage: "Preview changes without applying them",
}