Documentation ¶
Index ¶
- Constants
- func DownloadJdk(homeDir string, client *http.Client, logger *log.Logger, attempt int) (string, error)
- func HandleAppError(projectDir string, err error) (reportLog bool)
- func HandleArgsValidation(err error)
- func PrintCommands(projectDir string, javaHomeSet bool, jdkPath string)
- func WriteUsage(w io.Writer)
- type Arg
- type Args
- type Command
- type CommandError
- type Error
- type ErrorKind
- type Flag
- type Input
- type Options
- type UnrecognizedFlags
Constants ¶
View Source
const ( Version Flag = "version" Help = "help" Verbose = "verbose" )
Variables ¶
This section is empty.
Functions ¶
func DownloadJdk ¶
func HandleAppError ¶
func HandleArgsValidation ¶
func HandleArgsValidation(err error)
func PrintCommands ¶
func WriteUsage ¶
Types ¶
type CommandError ¶
type CommandError struct {
Command Command
}
func (CommandError) Error ¶
func (e CommandError) Error() string
type Input ¶
func ProcessArgs ¶
type UnrecognizedFlags ¶
type UnrecognizedFlags []string
func (UnrecognizedFlags) Error ¶
func (f UnrecognizedFlags) Error() string
Click to show internal directories.
Click to hide internal directories.