Documentation
¶
Overview ¶
Package cmd implements the command-line interface for vtpc.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "vtpc <file-path>", Short: "vtpc - Automate compilation of .vtp files", Version: version.GetVersion(), Args: validateArgs, RunE: Execute, SilenceUsage: true, }
RootCmd is the root command for the vtpc CLI application.
Functions ¶
Types ¶
type CompilationParams ¶
type CompilationParams struct {
FilePath string
Hwnd uintptr
Pid uint32
PidPtr *uint32
Config *Config
Logger logger.LoggerInterface
}
CompilationParams holds parameters for running compilation
type Config ¶
Config holds all application configuration
func NewConfigFromFlags ¶
NewConfigFromFlags creates a Config from parsed command flags
type ExecutionContext ¶
type ExecutionContext struct {
// contains filtered or unexported fields
}
ExecutionContext holds state needed throughout the compilation process and for cleanup in signal handlers.
Click to show internal directories.
Click to hide internal directories.