bootstrap

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

Documentation

Overview

Package bootstrap implements the ctx system bootstrap subcommand.

It prints the context directory location for AI agents to discover and load project context on session start.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd() *cobra.Command

Cmd returns the "ctx system bootstrap" subcommand.

Returns:

  • *cobra.Command: Configured bootstrap subcommand

func Run

func Run(cmd *cobra.Command) error

Run executes the bootstrap command, emitting context directory info, rules, and next steps for the calling agent.

Parameters:

  • cmd: Cobra command providing flags and output streams.

Returns:

  • error: non-nil if the context directory does not exist or JSON encoding fails.

Types

This section is empty.

Jump to

Keyboard shortcuts

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