Skip to main content

Module cli

Module cli 

Source
Expand description

The clap command tree, the frozen exit-code scheme, and the process boundary that resolves config, opens the store and hands off to the per-command handlers.

The command tree and every long flag mirror contracts/cli.md exactly; the exit-code table there is frozen: 0 success, 1 usage/config/ unknown-error, 2 target-not-found or selection-ambiguous, 3 external tool missing (glab/linear-cli, reserved for WP05). Handlers return Result<(), TixError>; exit_code_for maps the typed error surface to the exit-code enum at the boundary. Human-readable errors go to stderr; stdout stays clean for the parseability contract.

Structs§

AnalyticsScopeArgs
The scope, period, mode and unit flags every tix analytics verb shares.
BulkSelection
tix bulk <action> — four actions, and each carries its own flags.
Cli
CycleScheduleCreateArgs
The flags that define a schedule (tix cycle schedule create).
CycleScheduleEditArgs
What tix cycle schedule edit may change. Every field is optional; only the named ones change, so a partial edit keeps the rest of the record.
CycleScheduleExtendArgs
tix cycle schedule extend’s flags: the reason plus the period count.
CycleScheduleLifecycleArgs
The flags every tix cycle schedule lifecycle action shares.
CycleScheduleReasonArgs
The lifecycle flags plus the reason the recording actions require.
RecurringCreateArgs
The fields of the definition issue plus its rule.
RecurringEditArgs
What tix recurring edit may change.
RecurringLifecycleArgs
The confirmation every mutating tix recurring subcommand takes.
RecurringRuleArgs
The rule flags tix recurring create and edit share.
TimeEditArgs
The fields an entry correction can name (T020).
TimeTotalArgs
The read-only scope a tix time total is evaluated under (T021).
ViewPlanArgs
The plan-shaping flags shared by create, update, and status.
ViewScopeArgs
The explicit scope flags shared by create and share.

Enums§

AnalyticsCommand
The tix analytics subcommands (mission burndown-scope-analytics-01M3C9J1, WP05).
BeadsAction
The tix capacity subcommands (mission cycle-capacity-planning-01M3C85C, WP05).
BulkAction
CapacityCommand
Command
CycleCommand
CycleScheduleCommand
The tix cycle schedule subcommands (mission repeating-cycle-schedules-01M3C7W1, WP06).
EpicCommand
The tix epic subcommands (mission epics-work-items-01M3BYW4, WP05).
ExitCode
Exit codes frozen by contracts/cli.md.
HealthAction
The tix triage tree (contracts/cli-surface.md, WP05 T023–T025).
InitiativeCommand
The tix initiative subcommands (mission roadmap-initiatives-01M3C8SX, WP04).
LayoutAction
tix layout subcommands.
LinkAction
The tix link subcommands.
MentionsAction
The tix mentions verbs.
MigrateAction
tix migrate subcommands.
MilestoneCommand
ParentAction
The tix parent subcommands.
ProjectCommand
The tix project subcommands (mission first-class-projects-01M3BYBW, WP05).
RecurringAction
What tix recurring does.
RoadmapCommand
The tix roadmap subcommands (mission roadmap-initiatives-01M3C8SX, WP04).
TemplateAction
The tix template management tree (contracts/cli-surface.md).
TimeCommand
The tix time subcommands (mission per-issue-time-tracking-01M3C9A4, WP04).
TriageAction
ViewAction
The tix view saved-view subcommands (#172; mission saved-issue-views-01M3C926, WP04).
WipAction
tix wip’s subcommands (mission configurable-wip-limits-01M3C6WX, WP04).
WorkflowAction
The tix workflow verbs, per contracts/cli-surface.md §1.

Functions§

exit_code_for
Map a domain error to the frozen exit-code table.
run
Process entry: route a parsed Cli through config resolution, store opening and dispatch, then return the exit code for main to exit with.