resume

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: 10 Imported by: 0

Documentation

Overview

Package resume implements the ctx system resume subcommand.

It removes the session-scoped pause marker so that hooks resume normal behavior.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd() *cobra.Command

Cmd returns the "ctx system resume" plumbing command.

Returns:

  • *cobra.Command: Configured resume subcommand

func Run

func Run(cmd *cobra.Command, stdin *os.File) error

Run executes the resume logic.

Reads a session ID from the --session-id flag or stdin JSON, then removes the pause marker file so hooks fire normally again.

Parameters:

  • cmd: Cobra command for output
  • stdin: standard input for hook JSON

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