Documentation
¶
Overview ¶
Package pause implements the ctx system pause subcommand.
It creates a session-scoped pause marker that suppresses nudge and reminder hooks while allowing security hooks to continue firing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cmd ¶
Cmd returns the "ctx system pause" plumbing command.
Returns:
- *cobra.Command: Configured pause subcommand
func Run ¶
Run executes the pause logic.
Reads a session ID from the --session-id flag or stdin JSON, then creates a pause marker file so all subsequent hooks for that session are suppressed until resumed.
Parameters:
- cmd: Cobra command for output
- stdin: standard input for hook JSON
Returns:
- error: Always nil
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.