mirror of
https://github.com/plashchynski/crono.git
synced 2026-03-24 10:21:54 +01:00
16 lines
264 B
Ruby
Executable File
16 lines
264 B
Ruby
Executable File
#!/usr/bin/env ruby
|
|
|
|
$LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
|
|
|
|
require "periodicity/cli"
|
|
|
|
begin
|
|
cli = Periodicity::CLI.instance
|
|
cli.run
|
|
rescue => e
|
|
raise e if $DEBUG
|
|
STDERR.puts e.message
|
|
STDERR.puts e.backtrace.join("\n")
|
|
exit 1
|
|
end
|