root

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package root implements the ctx pause command.

It pauses context hooks for the current session so that ctx hook callbacks are temporarily suppressed.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd() *cobra.Command

Cmd returns the top-level "ctx pause" command.

Returns:

  • *cobra.Command: Configured pause command

func Run

func Run(cmd *cobra.Command, sessionID string) error

Run executes the pause command.

Parameters:

  • cmd: Cobra command for output
  • sessionID: Session ID from flag (empty to read from stdin)

Returns:

  • error: Always nil

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL