Sha256: 9f3710ffa681a904887e9fc2e3fba5bb3bfa11b65302ae378ee4d1aeca4860b9

Contents?: true

Size: 276 Bytes

Versions: 15

Compression:

Stored size: 276 Bytes

Contents

module Jets::Command
  class ConfigureCommand < Base # :nodoc:
    desc "configure [TOKEN]", "configure token and updates ~/.jets/config.yml"
    long_desc Help.text(:configure)
    def perform(token=nil)
      Jets::Api::Config.instance.update_token(token)
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
jets-5.0.13 lib/jets/commands/configure/configure_command.rb
jets-5.0.12 lib/jets/commands/configure/configure_command.rb
jets-5.0.11 lib/jets/commands/configure/configure_command.rb
jets-5.0.10 lib/jets/commands/configure/configure_command.rb
jets-5.0.9 lib/jets/commands/configure/configure_command.rb
jets-5.0.8 lib/jets/commands/configure/configure_command.rb
jets-5.0.7 lib/jets/commands/configure/configure_command.rb
jets-5.0.6 lib/jets/commands/configure/configure_command.rb
jets-5.0.5 lib/jets/commands/configure/configure_command.rb
jets-5.0.4 lib/jets/commands/configure/configure_command.rb
jets-5.0.3 lib/jets/commands/configure/configure_command.rb
jets-5.0.2 lib/jets/commands/configure/configure_command.rb
jets-5.0.1 lib/jets/commands/configure/configure_command.rb
jets-5.0.0 lib/jets/commands/configure/configure_command.rb
jets-5.0.0.beta1 lib/jets/commands/configure/configure_command.rb