Documentation
¶
Overview ¶
Package flag defines CLI flag name constants for registration and error display.
Index ¶
Constants ¶
View Source
const ( ContextDir = "context-dir" AllowOutsideCwd = "allow-outside-cwd" )
Global CLI flag names.
View Source
const ( Application = "application" Consequence = "consequence" Context = "context" File = "file" Lesson = "lesson" Priority = "priority" Rationale = "rationale" Section = "section" )
Add command flag names: used for both flag registration and error display.
View Source
const ( ShortApplication = "a" ShortContext = "c" ShortFile = "f" ShortLesson = "l" ShortPriority = "p" ShortRationale = "r" ShortSection = "s" )
Flag shorthand letters for the add command.
View Source
const ( Budget = "budget" Cooldown = "cooldown" Follow = "follow" Format = "format" Session = "session" )
Agent command flag names.
View Source
const ( After = "after" All = "all" AllProjects = "all-projects" Append = "append" Archive = "archive" BaseURL = "base-url" Blob = "blob" Build = "build" Check = "check" Commands = "commands" Completion = "completion" DryRun = "dry-run" Event = "event" External = "external" Fix = "fix" Force = "force" Full = "full" Hook = "hook" JSON = "json" KeepFrontmatter = "keep-frontmatter" Key = "key" Label = "label" Last = "last" Latest = "latest" Limit = "limit" MaxIterations = "max-iterations" Merge = "merge" Message = "message" Minimal = "minimal" NoPluginEnable = "no-plugin-enable" Out = "out" Output = "output" Prepend = "prepend" Prompt = "prompt" Quiet = "quiet" Ralph = "ralph" Raw = "raw" Regenerate = "regenerate" Scope = "scope" Serve = "serve" SessionID = "session-id" Skills = "skills" Stdin = "stdin" Tool = "tool" Type = "type" Variant = "variant" Write = "write" Yes = "yes" )
Shared flag names used across commands.
View Source
const ( ShortAfter = "a" ShortAll = "A" ShortCompletion = "c" ShortEvent = "e" ShortForce = "f" ShortHook = "K" ShortFollow = "f" ShortJSON = "j" ShortKey = "k" ShortLast = "n" ShortMaxIterations = "M" ShortMinimal = "m" ShortOutput = "o" ShortQuiet = "q" ShortPrompt = "p" ShortSessionID = "s" ShortTool = "t" ShortWrite = "w" ShortYes = "y" )
Shorthand letters for shared flags.
View Source
const ( Since = "since" Until = "until" )
CLI flag names used in multiple commands.
View Source
const PrefixLong = "--"
PrefixLong is a CLI flag prefix for display formatting.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.