Log info and nicer to stdout, worse to stderr. Colorize only on tty.
This commit is contained in:
12
src/commands/new.cr
Normal file
12
src/commands/new.cr
Normal 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
|
Reference in New Issue
Block a user