CommandRegistry class

Registry responsible for discovering, registering, and executing CLI commands.

Constructors

CommandRegistry({String name = 'syntrix', String description = 'Syntrix (Flutter Package Studio): Enterprise-grade tools & AI engineering for Flutter & Dart packages.'})
Creates a CommandRegistry with executable name and description.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runner → CommandRunner<int>
The command runner engine.
final
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
register(FpsCommand command) → void
Dynamically registers a new command.
run(List<String> arguments) → Future<int>
Runs the CLI application with the given arguments.
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

getBanner({bool enableColor = true}) → String
Formats and returns the stylized terminal SYNTRIX splash banner matching the approved design.
getHelp({bool enableColor = true}) → String
Formats and returns the stylized terminal SYNTRIX help output matching the approved design.

Constants

version → const String
CLI semantic version string.