show

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

Documentation

Overview

Package show implements the ctx recall show subcommand.

It displays detailed information about a specific parsed session.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd() *cobra.Command

Cmd returns the recall show subcommand.

Returns:

  • *cobra.Command: Command for showing session details

func Run

func Run(
	cmd *cobra.Command, args []string, latest, full, allProjects bool,
) error

Run handles the recall show command.

Displays detailed information about a session including metadata, token usage, tool usage summary, and optionally the full conversation.

Parameters:

  • cmd: Cobra command for output stream
  • args: session ID or slug to show (ignored if latest is true)
  • latest: if true, show the most recent session
  • full: if true, show complete conversation instead of preview
  • allProjects: if true, search sessions from all projects

Returns:

  • error: non-nil if session not found or scanning fails

Types

This section is empty.

Jump to

Keyboard shortcuts

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