Sha256: 45d77fe86f94240f4d23971c2fc724a5af1074972565850f75ee5955afd18828

Contents?: true

Size: 639 Bytes

Versions: 10

Compression:

Stored size: 639 Bytes

Contents

require 'thor'
require 'drive_env'

module DriveEnv
  module Cli
    class Command < Thor
      class_option :config, :aliases =>['c'], :required => false, :type => :string, :default => DriveEnv::Config::DEFAULT_CONFIG_FILE

      desc 'auth SUBCOMMAND ...ARGS', ''
      subcommand 'auth', ::DriveEnv::Cli::Auth

      desc 'config SUBCOMMAND ...ARGS', ''
      subcommand 'config', ::DriveEnv::Cli::Config

      desc 'spreadsheet SUBCOMMAND ...ARGS', ''
      subcommand 'spreadsheet', ::DriveEnv::Cli::Spreadsheet

      desc 'version', ''
      def version
        puts "drive_env v#{::DriveEnv::VERSION}"
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
drive_env-0.4.2 lib/drive_env/cli/command.rb
drive_env-0.4.1 lib/drive_env/cli/command.rb
drive_env-0.4.0 lib/drive_env/cli/command.rb
drive_env-0.3.1 lib/drive_env/cli/command.rb
drive_env-0.3.0 lib/drive_env/cli/command.rb
drive_env-0.2.2 lib/drive_env/cli/command.rb
drive_env-0.2.1 lib/drive_env/cli/command.rb
drive_env-0.2.0 lib/drive_env/cli/command.rb
drive_env-0.2.pre1 lib/drive_env/cli/command.rb
drive_env-0.1.0 lib/drive_env/cli/command.rb