package
2.4.1+incompatible
Repository: https://github.com/hashicorp/vagrant.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
No description provided by the author
commands returns the map of commands that can be used to initialize a CLI.
No description provided by the author
Main runs the CLI with the given arguments and returns the exit code.
WithArgs sets the arguments to the command that are used for parsing.
WithClient configures the CLI to initialize a client.
WithConfig configures the CLI to find and load any project configuration.
WithFlags sets the flags that are supported by this command.
WithNoConfig configures the CLI to not expect any project configuration.
TODO(spox): needs to be updated to using arg value for machine name WithSingleMachine configures the CLI to expect a configuration with one or more machines defined but a single machine targeted with `-app`.
WithUI configures the CLI to use a specific UI implementation.
# Constants
EnvLogLevel is the env var to set with the log level.
EnvPlain is the env var that can be set to force plain output mode.
No description provided by the author
# Variables
ErrSentinel is a sentinel value that we can return from Init to force an exit.
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
Option is used to configure Init on baseCommand.