Documentation
¶
Overview ¶
Package cmn implements common variables and utility functions for git-wt, providing debug, exit, and configuration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Basename string // Base name of the program; injected during compile. Version string // Version of the program; injected during compile. DebugFlag bool // Whether debug output is enabled. InitialDir string // Initial working directory of the program. ProjectDir string // Path of the project directory. DefaultBranch string // Default branch/worktree of the project. )
Functions ¶
func Debug ¶
func Debug(format string, args ...interface{})
Debug writes debug output to Stderr if DebugFlag is true.
func WriteConfig ¶
WriteConfig writes program's config file to cloned repo's project path.
Types ¶
Click to show internal directories.
Click to hide internal directories.