maurice library
Classes
- BuildCommand
- CreateCommand
- The "create" command creates a new Maurice project It copies the "templates/project" folder into the given path
- PageCommand
- PrintMessage
- Print colorful messages in the console
- ResourceCommand
Functions
-
askChoiceQuestion(
String question) → bool - Ask a question to the user and get its answer The possible answers are yes/y/no/n
-
askNumericQuestion(
String question) → int - Ask a question to the user and get its answer Only possible answers are integers
-
askQuestion(
String question) → String - Ask a question to the user and get its answer
-
getTemplatePath(
String path) → String - Get a path relative to the templates folder
-
parseFile(
File file) → FileContent? - Parse the content of a file. The file is made of 2 blocks separated by "---" The second block is optional.