scaffold method
void
scaffold(
- String packageName,
- String shortDescription, {
- required bool installDependencies,
- required bool initializeGitRepository,
override
Implementation
@override
void scaffold(
String packageName,
String shortDescription, {
required bool installDependencies,
required bool initializeGitRepository,
}) {
final target = _createTarget(packageName);
_createProjectFiles(target, shortDescription);
if (installDependencies) {
_installDependencies(target.directory);
}
// Agent skills are installed for whoever reads the project next, so they
// follow the project rather than its Dart dependency graph.
_installMambaSkills(target.directory);
if (initializeGitRepository) {
_initializeGitRepository(target.directory);
}
}