2023-01-18 16:29:34 +01:00
|
|
|
|
2023-02-21 16:06:20 +01:00
|
|
|
require "./cli"
|
2023-01-18 16:29:34 +01:00
|
|
|
|
2023-04-25 12:28:16 +02:00
|
|
|
Log.define_formatter BaseFormat, "#{message}"
|
|
|
|
|
|
|
|
|
|
|
|
::Log.setup(:notice, Log::IOBackend.new(formatter: BaseFormat))
|
2023-02-21 16:06:20 +01:00
|
|
|
app = DocMachine::Cli.new
|
|
|
|
app.start(ARGV)
|
2023-01-18 16:29:34 +01:00
|
|
|
|