Documentation
¶
Overview ¶
Package write centralizes user-facing output for CLI commands.
All formatted messages, error output, and informational lines that CLI commands to print to the user are routed through this package. This ensures consistent prefixes, templates, and output routing (stdout vs. stderr) across the entire CLI surface.
Functions accept a *cobra.Command to write to the correct output stream. Nil commands are treated as no-ops, making it safe to call from code paths where a command may not be available.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package add provides formatted output helpers for the add command.
|
Package add provides formatted output helpers for the add command. |
|
Package agent provides terminal output functions for the agent command.
|
Package agent provides terminal output functions for the agent command. |
|
Package archive provides terminal output functions for the archive command.
|
Package archive provides terminal output functions for the archive command. |
|
Package backup provides formatted output helpers for the backup command.
|
Package backup provides formatted output helpers for the backup command. |
|
Package bootstrap provides formatted output helpers for the bootstrap command.
|
Package bootstrap provides formatted output helpers for the bootstrap command. |
|
Package change provides terminal output functions for the change command.
|
Package change provides terminal output functions for the change command. |
|
Package compact provides terminal output functions for the compact command.
|
Package compact provides terminal output functions for the compact command. |
|
Package complete provides terminal output functions for the complete command.
|
Package complete provides terminal output functions for the complete command. |
|
Package config provides formatted output helpers for the config command.
|
Package config provides formatted output helpers for the config command. |
|
Package ctximport provides terminal output functions for memory import operations.
|
Package ctximport provides terminal output functions for memory import operations. |
|
Package deps provides terminal output functions for the deps command.
|
Package deps provides terminal output functions for the deps command. |
|
Package doctor provides formatted output helpers for the doctor command.
|
Package doctor provides formatted output helpers for the doctor command. |
|
Package drift provides formatted output helpers for the drift command.
|
Package drift provides formatted output helpers for the drift command. |
|
Package err provides error and warning output functions for terminal display.
|
Package err provides error and warning output functions for terminal display. |
|
Package events provides formatted output helpers for the events command.
|
Package events provides formatted output helpers for the events command. |
|
Package export provides terminal output functions for the export command.
|
Package export provides terminal output functions for the export command. |
|
Package guide provides terminal output functions for the guide command.
|
Package guide provides terminal output functions for the guide command. |
|
Package hook provides terminal output functions for the hook command.
|
Package hook provides terminal output functions for the hook command. |
|
Package initialize provides terminal output functions for the initialize command.
|
Package initialize provides terminal output functions for the initialize command. |
|
Package io provides low-level print primitives shared across write subpackages.
|
Package io provides low-level print primitives shared across write subpackages. |
|
Package journal provides terminal output functions for the journal command.
|
Package journal provides terminal output functions for the journal command. |
|
Package load provides terminal output functions for the load and agent commands.
|
Package load provides terminal output functions for the load and agent commands. |
|
Package loop provides terminal output functions for the loop and serve commands.
|
Package loop provides terminal output functions for the loop and serve commands. |
|
Package mark_journal provides formatted output helpers for the mark-journal command.
|
Package mark_journal provides formatted output helpers for the mark-journal command. |
|
Package memory provides terminal output functions for the memory command.
|
Package memory provides terminal output functions for the memory command. |
|
Package message provides formatted output helpers for the message command.
|
Package message provides formatted output helpers for the message command. |
|
Package notify provides terminal output functions for the notify command.
|
Package notify provides terminal output functions for the notify command. |
|
Package obsidian provides terminal output functions for the obsidian command.
|
Package obsidian provides terminal output functions for the obsidian command. |
|
Package pad provides terminal output functions for the pad command.
|
Package pad provides terminal output functions for the pad command. |
|
Package pause provides formatted output helpers for the pause command.
|
Package pause provides formatted output helpers for the pause command. |
|
Package prompt provides terminal output functions for the prompt command.
|
Package prompt provides terminal output functions for the prompt command. |
|
Package prune provides terminal output functions for the prune command.
|
Package prune provides terminal output functions for the prune command. |
|
Package publish provides terminal output functions for the publish command.
|
Package publish provides terminal output functions for the publish command. |
|
Package rc provides formatted output helpers for runtime config loading.
|
Package rc provides formatted output helpers for runtime config loading. |
|
Package recall provides terminal output functions for the recall command.
|
Package recall provides terminal output functions for the recall command. |
|
Package remind provides terminal output functions for the remind command.
|
Package remind provides terminal output functions for the remind command. |
|
Package resources provides formatted output helpers for the resources command.
|
Package resources provides formatted output helpers for the resources command. |
|
Package restore provides terminal output functions for the restore command.
|
Package restore provides terminal output functions for the restore command. |
|
Package session provides terminal output functions for the session command.
|
Package session provides terminal output functions for the session command. |
|
Package site provides output helpers for the site command.
|
Package site provides output helpers for the site command. |
|
Package stats provides formatted output helpers for the stats command.
|
Package stats provides formatted output helpers for the stats command. |
|
Package status provides terminal output functions for the status command.
|
Package status provides terminal output functions for the status command. |
|
Package sync provides formatted output helpers for the sync command.
|
Package sync provides formatted output helpers for the sync command. |
|
Package watch provides terminal output functions for the watch command.
|
Package watch provides terminal output functions for the watch command. |
|
Package why provides terminal output functions for the why command.
|
Package why provides terminal output functions for the why command. |
Click to show internal directories.
Click to hide internal directories.