Sha256: cde0925d0910365ac4c47de6c97199afe89fc54e4f7074da809451e93fa6e16d

Contents?: true

Size: 467 Bytes

Versions: 14

Compression:

Stored size: 467 Bytes

Contents

# frozen-string-literal: true

module Rodbot
  class CLI
    module Commands
      class Credentials < Rodbot::CLI::Command
        desc 'Edit the credentials for ENVIRONMENT'
        argument :environment, values: Rodbot::Env::ENVS, desc: 'Which environment to edit', required: true
        example [
          'development'
        ]

        def rescued_call(environment:, **)
          Rodbot.credentials.edit! environment
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
rodbot-0.4.5 lib/rodbot/cli/commands/credentials.rb
rodbot-0.4.4 lib/rodbot/cli/commands/credentials.rb
rodbot-0.4.3 lib/rodbot/cli/commands/credentials.rb
rodbot-0.4.2 lib/rodbot/cli/commands/credentials.rb
rodbot-0.4.1 lib/rodbot/cli/commands/credentials.rb
rodbot-0.4.0 lib/rodbot/cli/commands/credentials.rb
rodbot-0.3.4 lib/rodbot/cli/commands/credentials.rb
rodbot-0.3.3 lib/rodbot/cli/commands/credentials.rb
rodbot-0.3.2 lib/rodbot/cli/commands/credentials.rb
rodbot-0.3.1 lib/rodbot/cli/commands/credentials.rb
rodbot-0.3.0 lib/rodbot/cli/commands/credentials.rb
rodbot-0.2.0 lib/rodbot/cli/commands/credentials.rb
rodbot-0.1.1 lib/rodbot/cli/commands/credentials.rb
rodbot-0.1.0 lib/rodbot/cli/commands/credentials.rb