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) holding contents in folderPath, inside creationPath when it's given, and returns its path.