Sha256: bbc255a8f7bc118f0575babe4071bf8e2b82160a7339cb5c36f76fac3a9f5d30

Contents?: true

Size: 241 Bytes

Versions: 6

Compression:

Stored size: 241 Bytes

Contents

module Snapme
  module CLI
    class Command
      def self.start(args)
        options = Options.parse(args)
        Process.daemon(true) if options.daemon
        Snapper.new(options.host, options.interval).run
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
snapme-0.2.1 lib/snapme/cli/command.rb
snapme-0.2.0 lib/snapme/cli/command.rb
snapme-0.1.3 lib/snapme/cli/command.rb
snapme-0.1.2 lib/snapme/cli/command.rb
snapme-0.1.1 lib/snapme/cli/command.rb
snapme-0.1.0 lib/snapme/cli/command.rb