ExtensionCommand class

Inheritance
  • Object
  • Command
  • ExtensionCommand
Implemented types
Mixed in types

Constructors

ExtensionCommand()
Xtension

Properties

adaptivex bool
getter/setter pairinherited
aliases List<String>
Alternate names for this command.
no setteroverride
argParser → ArgParser
The argument parser for this command.
no setterinherited
argResults → ArgResults?
The parsed argument results for this command.
no setterinherited
category String
The command's category.
no setterinherited
className String?
generate class name as camel case style
getter/setter pair
controllerConfig ↔ YamlMap?
current project controllers config
getter/setter pairinherited
currentPath String
current path
getter/setter pairinherited
dependencies ↔ YamlMap
dependencies yaml as map
getter/setter pairinherited
description String
A description of this command, included in usage.
no setteroverride
dev_dependencies ↔ YamlMap
dev_dependencies yaml as map
getter/setter pairinherited
dirName String?
directory from user and print help if null
getter/setter pair
dirNames List<String>
split the dirname input into list of parts
no setter
easy_localization bool
getter/setter pairinherited
extensionConfig ↔ YamlMap?
current project extensions config
getter/setter pairinherited
fileName String?
generate file name as underscore lowercase style
getter/setter pair
flutter bool
getter/setter pairinherited
globalResults → ArgResults?
The parsed global argument results.
no setterinherited
go_router bool
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
hidden bool
Whether or not this command should be hidden from help listings.
no setterinherited
inputName String?
input from user and print help if null
getter/setter pair
integration_test bool
getter/setter pairinherited
interfaceConfig ↔ YamlMap?
current project interfaces config
getter/setter pairinherited
invocation String
A single-line template for how to invoke this command (e.g. "pub get package").
no setterinherited
layoutConfig ↔ YamlMap?
current project layouts config
getter/setter pairinherited
libraryPath String
libary path (project/lib)
getter/setter pairinherited
mdi bool
getter/setter pairinherited
modelConfig ↔ YamlMap?
current project models config
getter/setter pairinherited
myst File
current project myst
getter/setter pairinherited
mystConfig ↔ YamlMap?
current project myst entries
getter/setter pairinherited
mystEntries ↔ YamlMap
current project myst entries
getter/setter pairinherited
mystYaml Map<String, YamlMap?>
no setterinherited
name String
The name of this command.
no setteroverride
parent → Command?
The command's parent command, if this is a subcommand.
no setterinherited
parentDir String
final
printx bool
getter/setter pairinherited
projectName String?
current project name
getter/setter pairinherited
projectVersion String?
current project verison
getter/setter pairinherited
provider bool
getter/setter pairinherited
pubspec File
current project pubspec
getter/setter pairinherited
pubspecEntries ↔ YamlMap
current project pubspec entries
getter/setter pairinherited
rewrite bool
getter/setter pairinherited
runner → CommandRunner?
The command runner for this command.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenConfig ↔ YamlMap?
current project screens config
getter/setter pairinherited
serviceConfig ↔ YamlMap?
current project services config
getter/setter pairinherited
sharedpref bool
getter/setter pairinherited
subcommands Map<String, Command>
An unmodifiable view of all sublevel commands of this command.
no setterinherited
suggestionAliases List<String>
Alternate non-functional names for this command.
no setterinherited
summary String
A short description of this command, included in parent's CommandRunner.usage.
no setterinherited
takesArguments bool
Whether or not this command takes positional arguments in addition to options.
no setterinherited
testPath String
test path (project/test)
getter/setter pairinherited
usage String
Generates a string displaying usage information for this command.
no setterinherited
usageFooter String?
An optional footer for usage.
no setterinherited
utilityConfig ↔ YamlMap?
current project utilities config
getter/setter pairinherited
widgetConfig ↔ YamlMap?
current project widgets config
getter/setter pairinherited

Methods

addSubcommand(Command command) → void
Adds Command as a subcommand of this.
inherited
ensureYamlInitialized() → dynamic
inherited
generateLib() → void
to generate the class file with correct content in lib
override
generateTest() → void
to generate the testable class file with correct content in test
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
printUsage() → void
Prints the usage information for this command.
inherited
run() FutureOr?
Runs this command.
override
toString() String
A string representation of this object.
inherited
usageException(String message) → Never
Throws a UsageException with message.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited