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

Documentation

Overview

Package root implements the ctx guide command.

It prints a quick-reference cheat sheet covering ctx commands, skills, and workflows.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd() *cobra.Command

Cmd returns the "ctx guide" cobra command.

Returns:

  • *cobra.Command: Configured guide command with flags registered

func Run

func Run(cmd *cobra.Command, showSkills, showCommands bool) error

Run dispatches to the appropriate guide output based on flags.

Parameters:

  • cmd: Cobra command for output stream and root traversal
  • showSkills: If true, list all available skills
  • showCommands: If true, list all CLI commands

Returns:

  • error: Non-nil if skill listing fails

Types

This section is empty.

Jump to

Keyboard shortcuts

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