Sha256: 5d494dbfdd215c10cdc5cc651c6e435ddd26e149fbb59083961c7382eaf435f6
Contents?: true
Size: 564 Bytes
Versions: 1
Compression:
Stored size: 564 Bytes
Contents
module Pair class Cli class Config < self def run! parse! Pair.config(options) end def parse! opts = parse do |opts| opts.banner = "Usage: #{$0.split("/").last} config" + "\n\n" + "Options:" + "\n" opts.on("--api-token KEY") do |key| options[:api_token] = key end # opts.on("--enable-ssh") do # options[:enable_ssh] = true # end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pair-0.0.3 | lib/pair/cli/config.rb |