metro/commands/make/playbook library
Constants
- playbooksFolder → const String
- Where new playbooks are created.
Functions
-
main(
List< String> arguments) → Future<void> - Entry point for the make:playbook command.
-
makePlaybookFile(
String name, String contents, {String folderPath = playbooksFolder, bool forceCreate = false, String? creationPath}) → Future< String> -
Creates the playbook
name(in snake case) holdingcontentsinfolderPath, insidecreationPathwhen it's given, and returns its path.