Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Root command description MsgRootShort = "A stateless dotfiles manager" // Error messages MsgErrInitPaths = "failed to initialize paths: %w" // Flag descriptions MsgFlagVerbose = "Increase verbosity (-v INFO, -vv DEBUG, -vvv TRACE)" MsgFlagDryRun = "Preview changes without executing them" MsgFlagForce = "Force execution of run-once handlers even if already executed" // Debug messages MsgDebugDotfilesRoot = "Debug: Using dotfiles root: %s (fallback=%v)\n" )
General messages (not command-specific)
Variables ¶
View Source
var ( // Status command MsgStatusShort = status.MsgShort MsgErrStatusPacks = status.MsgErrStatusPacks // Init command MsgInitShort = initcmd.MsgShort MsgErrInitPack = initcmd.MsgErrInitPack // Fill command MsgFillShort = fill.MsgShort MsgErrFillPack = fill.MsgErrFillPack // Adopt command MsgAdoptShort = adopt.MsgShort MsgErrAdoptFiles = adopt.MsgErrAdoptFiles // Add-ignore command MsgAddIgnoreShort = addignore.MsgShort MsgErrAddIgnore = addignore.MsgErrAddIgnore // Topics command MsgTopicsShort = topics.MsgShort MsgTopicsLong = topics.MsgLong // Snippet command MsgSnippetShort = snippet.MsgShort // Gen-config command MsgGenConfigShort = genconfig.MsgShort )
Re-export command messages for backward compatibility
View Source
var ( MsgRootLong = strings.TrimSpace(msgRootLongRaw) MsgFallbackWarning = strings.TrimSpace(msgFallbackWarningRaw) MsgUsageTemplate = strings.TrimSpace(msgUsageTemplateRaw) )
Embedded message files for general messages
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.