summaryrefslogtreecommitdiff
path: root/lib/oxidized/cli.rb
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2014-04-16 10:04:12 +0300
committerSaku Ytti <saku@ytti.fi>2014-04-16 10:04:12 +0300
commitd74a152bba73095a0c7090dc078a7023eeb9ad18 (patch)
tree43f0a47fc93bcdd22f5799d41989582fc57c1cc9 /lib/oxidized/cli.rb
parent2af41e1769225ac42027f2f686763389296bab79 (diff)
remove web API
It is now separately in oxidized-web package
Diffstat (limited to 'lib/oxidized/cli.rb')
-rw-r--r--lib/oxidized/cli.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/oxidized/cli.rb b/lib/oxidized/cli.rb
index 1e6cf05..aa8c516 100644
--- a/lib/oxidized/cli.rb
+++ b/lib/oxidized/cli.rb
@@ -2,8 +2,6 @@ module Oxidized
class CLI
require 'oxidized'
require 'slop'
- class CLIError < OxidizedError; end
- class NoConfig < CLIError; end
def run
Process.daemon unless CFG.debug
@@ -18,7 +16,6 @@ module Oxidized
private
def initialize
- raise NoConfig, 'edit ~/.config/oxidized/config' if CFGS.create
_args, opts = parse_opts
CFG.debug = true if opts[:debug]
end