Documentation
¶
Overview ¶
Package cmn implements common variables and utility functions for git-wt, providing debug 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. Config *Cfg = &Cfg{} // Global configuration for the program. )
Functions ¶
func Debug ¶
func Debug(format string, args ...interface{})
Debug writes debug output to Stderr if DebugFlag is true.
func InitConfig ¶
func InitConfig() error
InitConfig locates and reads the configuration file for use.
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.