Run
Run a Nubo file by passing the file path to the nubo command.
nubo main.nubonubo <file> [flags]Example
Section titled “Example”nubo src/main.nuboFile Check
Section titled “File Check”Before running the file, Nubo checks whether the file exists.
If the file does not exist, it prints:
File does not existEvents
Section titled “Events”When runtime events are enabled in the Nubo configuration, the CLI creates the default event provider before running the file.
runtime: events: enabled: trueReturn Value
Section titled “Return Value”If the executed file returns a value, Nubo prints it.
return "done"Output:
doneUseful Flags
Section titled “Useful Flags”nubo main.nubo --devnubo main.nubo --loglevel debugnubo main.nubo --nocolor