Versions in this module Expand all Collapse all v0 v0.1.0 Oct 19, 2026 Changes in this version + const MaxCommandLen + type Decision struct + Invocations []Invocation + ReadOnly bool + Reason string + func Analyze(cmdStr string, t *Table) Decision + type FlagKind string + const FlagBool + const FlagNumber + const FlagOptional + const FlagString + type Invocation struct + Args []string + Dynamic bool + Name string + type Policy struct + AllowBareOperandsPrefix []string + ConsumeBare int + NoBareOperands bool + ReadOnly bool + SafeFlags map[string]FlagKind + Subcommands map[string]Policy + UnsafeFlags []string + Wrapper bool + type Table struct + Commands map[string]Policy + func DefaultTable() *Table Other modules containing this package github.com/oagentkit/guardx