Log info and nicer to stdout, worse to stderr. Colorize only on tty.

This commit is contained in:
2024-07-04 22:34:13 -03:00
parent ff454de0fd
commit 50ac476437
3 changed files with 43 additions and 17 deletions

12
src/commands/new.cr Normal file
View File

@@ -0,0 +1,12 @@
module Faaso
module Commands
# Creates a new empty funko out of a given runtime
struct New
def run(options, folder)
if options["RUNTIME"].as(String) == "list"
Log.info {"Known runtimes:"}
end
end
end
end
end