InitCommand class

Adds a starting build_pipe config to the pubspec of a project, for build_pipe:init

Constructors

InitCommand()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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 Methods

run(String projectPath, {required bool write}) → Future<(InitResult?, String?)>
Reads the pubspec in projectPath and creates the config for it, adding it to the end of the pubspec when write is true