Documentation ¶
Overview ¶
Package service represents the CLI service for Ubuntu Pro wsl service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
App encapsulate commands and options of the daemon, which can be controlled by env variables and config files.
func (App) RootCmd ¶
RootCmd returns a copy of the root command for the app. Shouldn't be in general necessary apart when running generators.
func (*App) Run ¶
Run executes the command and associated process. It returns an error on syntax/usage error.
func (*App) SetArgs ¶
SetArgs changes the root command args. Shouldn't be in general necessary apart for tests.
func (App) UsageError ¶
UsageError returns if the error is a command parsing or runtime one.
Click to show internal directories.
Click to hide internal directories.