Sha256: a16bb5b9fb8fffa33fc7e284c5d58f3013c837b22ce670b87f4ca6f17b2c8c1f
Contents?: true
Size: 467 Bytes
Versions: 2
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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rodbot-0.5.1 | lib/rodbot/cli/commands/credentials.rb |
rodbot-0.5.0 | lib/rodbot/cli/commands/credentials.rb |