Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "tdoc file.tdoc", Short: "Short description", Long: `Long description`, Args: CheckFile, RunE: func(cmd *cobra.Command, args []string) error { if verbose { log.SetLevel(log.InfoLevel) } if debug { log.SetLevel(log.DebugLevel) } fs := afero.NewOsFs() file := outputs.NewFile(fs, extension, SvgDir) executor := outputs.NewExecutor(fs, extension) executor.Exec(file, args) return nil }, }
RootCmd represents the base command when called without any subcommands
View Source
var (
SvgDir string
)
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.