Sha256: 67937fe471512c46cc658cf56362a698e8c74b527d7b30c4913e923f02ce0e70

Contents?: true

Size: 538 Bytes

Versions: 6

Compression:

Stored size: 538 Bytes

Contents

require "mixlib/cli"

class Konstant::Cli

  include Mixlib::CLI

  option(:web,
    :short => "-w",
    :long => "--web",
    :default => false
  )

  option(:scheduler,
    :short => "-s",
    :long => "--scheduler",
    :default => false
  )

  option(:host,
    :short => "-h HOST",
    :long => "--host HOST",
    :default => "0.0.0.0"
  )

  option(:port,
    :short => "-p PORT",
    :long => "--port PORT",
    :default => "9105"
  )

  option(:version,
    :short => "-v",
    :long => "--version",
    :default => false
  )

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
konstant-0.1.2 lib/konstant/cli.rb
konstant-0.1.1 lib/konstant/cli.rb
konstant-0.1.0 lib/konstant/cli.rb
konstant-0.0.10 lib/konstant/cli.rb
konstant-0.0.9 lib/konstant/cli.rb
konstant-0.0.8 lib/konstant/cli.rb