Skip to main content

Module context

Module context 

Source
Expand description

ralph context command: Clap types and handler.

Responsibilities:

  • Define CLI arguments for the context command group (init, update, validate).
  • Provide handler function that delegates to command implementations.

Not handled here:

  • Actual file generation and manipulation (see commands::context).
  • Project type detection logic.

Invariants/assumptions:

  • Output paths are resolved relative to the repository root.
  • Interactive mode requires a TTY.

Structs§

ContextArgs
ContextInitArgs
ContextUpdateArgs
ContextValidateArgs

Enums§

ContextCommand
ProjectTypeHint

Functions§

handle_context
Handle the context command group.