ServeCommand class
- Inheritance
-
- Object
- Command<
int> - CliCommand
- ServeCommand
Constructors
Properties
- address → String
-
latefinal
-
aliases
→ List<
String> -
Alternate names for this command.
no setterinherited
- argParser → ArgParser
-
The argument parser for this command.
no setterinherited
- argResults → ArgResults
-
The parsed argument results for this command.
no setterinherited
- backlog → int
-
latefinal
- category → String
-
The command's category.
no setterinherited
- debug → bool
-
latefinal
-
defineList
→ List<
String> -
latefinalinherited
- description → String
-
A description of this command, included in usage.
final
- directory → Directory
-
latefinalinherited
- directoryPath → String
-
latefinalinherited
- enableAsserts → bool
-
latefinal
- globalResults → ArgResults?
-
The parsed global argument results.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
Whether or not this command should be hidden from help listings.
no setterinherited
- hotReload → bool
-
latefinal
- invocation → String
-
A single-line template for how to invoke this command (e.g.
"pub get
package"
).final - isolateId ↔ String
-
getter/setter pair
- isolates → int
-
latefinal
- name → String
-
The name of this command.
final
- package → String
-
latefinalinherited
-
parent
→ Command<
int> ? -
The command's parent command, if this is a subcommand.
no setterinherited
- port → int
-
latefinal
- pubspec → PubSpec
-
latefinalinherited
- pubspecFile → File
-
latefinalinherited
-
runner
→ CommandRunner<
int> ? -
The command runner for this command.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serverType → dynamic
-
latefinal
- service ↔ VmService
-
getter/setter pair
- servicePort → int?
-
latefinal
-
latefinal
- sslCert → String?
-
latefinal
- sslKey → String?
-
latefinal
- sslKeyPass → String?
-
latefinal
-
subcommands
→ Map<
String, Command< int> > -
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.
final
- target → String
-
latefinalinherited
- targetFile → File
-
latefinalinherited
- targetPath → String
-
latefinalinherited
- usage → String
-
Generates a string displaying usage information for this command.
no setterinherited
-
An optional footer for usage.
final
- v6Only → bool
-
latefinal
- verbose → bool
-
latefinal
- watch → bool
-
latefinal
-
watchList
→ List<
String> -
latefinal
Methods
-
addSubcommand(
Command< int> command) → void -
Adds
Command
as a subcommand of this.inherited -
check(
) → Future< void> -
override
-
cleanup(
) → Future< void> -
inherited
-
clearScreen(
) → void -
closeServer(
{bool force = false}) → Future< void> -
createSource(
) → Future< String> -
handle(
) → Future< int> -
override
-
killProcess(
Process process, [ProcessSignal signal = ProcessSignal.sigterm]) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
printServeModeUsage(
{bool hotReload = false}) → void -
printUsage(
) → void -
Prints the usage information for this command.
inherited
-
reloadServer(
) → Future< void> -
renderTemplate(
String name, Map< String, String> data) → Future<String> -
inherited
-
restartServer(
) → Future< void> -
run(
) → Future< int> -
Runs this command.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
usageException(
String message) → Never -
Throws a
UsageException
withmessage
.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited