export

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

Documentation

Overview

Package export implements the ctx recall export subcommand.

It exports parsed sessions to journal markdown files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd() *cobra.Command

Cmd returns the recall export subcommand.

Returns:

  • *cobra.Command: Command for exporting sessions to journal files

func Run

func Run(cmd *cobra.Command, args []string, opts entity.ExportOpts) error

Run handles the recall export command.

Parameters:

  • cmd: Cobra command for output.
  • args: positional arguments (optional session ID).
  • opts: export flag values.

Returns:

  • error: non-nil on validation, scan, or write failures.

Types

This section is empty.

Jump to

Keyboard shortcuts

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