InnoBundleCliConfig class
The fully resolved set of CLI options for the inno_bundle command.
Constructors
- InnoBundleCliConfig({BuildType type = BuildType.release, bool app = true, bool installer = true, String? buildArgs, String? appVersion, String? signToolName, String? signToolCommand, String? signToolParams, bool installInnoSetup = true, bool generateAppId = true, bool generatePublisher = true, String? appIdNamespace, String? path, bool envs = false, bool hf = true, bool help = false, bool listLanguages = false})
-
Creates an instance with the given values.
const
-
InnoBundleCliConfig.parse(List<
String> arguments) -
Parses the given
argumentsinto an InnoBundleCliConfig.factory
Properties
- app → bool
-
Whether to build the app itself.
final
- appIdNamespace → String?
-
Namespace used when generateAppId creates a namespaced UUID.
final
- appVersion → String?
-
Overrides the app version resolved from the config file.
final
- buildArgs → String?
-
Extra arguments appended to the
flutter build ...invocation.final - envs → bool
-
Whether to print the resolved configuration as environment variables and
exit before doing any build work.
final
- generateAppId → bool
-
Whether to generate an App ID and persist it into the config file.
final
- generatePublisher → bool
-
Whether to derive a publisher name and persist it into the config file.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- help → bool
-
Whether to print usage and exit without doing any work.
final
- hf → bool
-
Whether to print the header/footer lines framing the command output.
final
- installer → bool
-
Whether to produce the installer.
final
- installInnoSetup → bool
-
Whether to make sure Inno Setup is installed before building.
final
- listLanguages → bool
-
Whether to print the supported Inno Setup languages and exit.
final
- path → String?
-
Path to a custom config file; when omitted
pubspec.yamlis used.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signToolCommand → String?
-
Overrides the signing tool command defined in the config file.
final
- signToolName → String?
-
Overrides the signing tool name defined in the config file.
final
- signToolParams → String?
-
Overrides the signing tool parameters defined in the config file.
final
- type → BuildType
-
Which build type to produce (
release,profileordebug).final
Methods
-
helpMessage(
) → String - Returns the usage message describing the accepted options.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- parser ↔ ArgParser
-
Declares the command-line options accepted by the command.
getter/setter pair