Used internally.
- Inheritance
- Object
- CLICommand
- CLITemplateCreator
- Mixes-in
- CLIAqueductGlobal
Constructors
Properties
- description → String
-
@override, read-only
- detailedDescription → String
-
@override, read-only
- name → String
-
@override, read-only
- offline → bool
-
read-only
- projectName → String
-
read-only
- templateName → String
-
read-only
- usage → String
-
@override, read-only
- aqueductPackageRef → PackageRef
-
read-only, inherited
- defaultColorSymbol → String
-
read-only, inherited
- hashCode → int
-
The hash code for this object.
read-only, inherited - helpMeItsScary → bool
-
read-only, inherited
- options → ArgParser
-
Options for this command.
read / write, inherited - outputSink → StringSink
-
read / write, inherited
- pub → PubCache
-
read / write, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited - showColors → bool
-
read-only, inherited
- showStacktrace → bool
-
read-only, inherited
- toolVersion → Version
-
read-only, inherited
- values → ArgResults
-
@override, read / write, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
camelCaseFromSnakeCase(
String string) → String -
copyDirectory(
String projectName, Directory destinationParentDirectory, Directory sourceDirectory) → void -
copyFile(
String projectName, Directory destinationDirectory, File sourceFile) → void -
copyProjectFiles(
Directory destinationDirectory, Directory sourceDirectory, String projectName) → void -
createProjectSpecificFiles(
String directoryPath) → void -
destinationDirectoryFromPath(
String pathString) → Directory -
fileNameForFile(
String projectName, File sourceFile) → String -
getAqueductDependencyStringFromPackage(
PackageRef package) → String -
handle(
) → Future<int> -
Handles the command input.
-
interpretContentFile(
String projectName, Directory destinationDirectory, FileSystemEntity sourceFileEntity) → void -
isSnakeCase(
String string) → bool -
replaceAqueductDependencyString(
String destDirectoryPath, String aqueductVersion) → void -
runPubGet(
Directory workingDirectory, { bool offline: false }) → Future<ProcessResult> -
shouldIncludeItem(
FileSystemEntity entity) → bool -
cleanup(
) → Future -
Cleans up any resources used during this command.
inherited -
colorSymbol(
CLIColor color) → String -
inherited
-
determineToolVersion(
) → Future -
inherited
-
displayError(
String errorMessage, { bool showUsage: false, CLIColor color: CLIColor.boldRed }) → void -
inherited
-
displayInfo(
String infoMessage, { CLIColor color: CLIColor.boldNone }) → void -
inherited
-
displayProgress(
String progressMessage, { CLIColor color: CLIColor.none }) → void -
inherited
-
isExecutableInShellPath(
String name) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
preProcess(
) → void -
inherited
-
printHelp(
{String parentCommandName }) → void -
inherited
-
process(
ArgResults results, { List<String> parentCommandNames }) → Future<int> -
Invoked on this instance when this command is executed from the command line.
inherited -
registerCommand(
CLICommand cmd) → void -
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited