vyuh_cli
Dart command runner for vyuh create, doctor, and update. The generated project, feature, item, and schema templates live with the CLI; see the CLI guide for end-user commands.
How the pieces fit together
Choose a declaration
Template · VyuhCliCommandRunner · description · executableName · packageName · packageVersion
Template
Public declaration in this package.
dart
abstract class TemplateDirectly declared public members:
dart
const Template({required this.name, required this.bundle, required this.help});dart
final String name;dart
final MasonBundle bundle;dart
final String help;dart
Future<void> onGenerateComplete(Logger logger, Directory outputDir);VyuhCliCommandRunner
{@template vyuh_cli_command_runner} A CommandRunner for the CLI.
dart
class VyuhCliCommandRunner extends CompletionCommandRunner<int>Directly declared public members:
dart
VyuhCliCommandRunner({Logger? logger, PubUpdater? pubUpdater});dart
void printUsage();dart
Future<int> run(Iterable<String> args);dart
Future<int?> runCommand(ArgResults topLevelResults);description
Public declaration in this package.
dart
const description = 'Scaffold a new project, feature, schema, or item for the Vyuh Framework.';executableName
Public declaration in this package.
dart
const executableName = 'vyuh';packageName
Public declaration in this package.
dart
const packageName = 'vyuh_cli';packageVersion
Public declaration in this package.
dart
const packageVersion = '0.1.2';