Sha256: e57a7ea196ed85bdf9b43427ce7c86c319aef33158573863de3809e4fa8b2a6b

Contents?: true

Size: 310 Bytes

Versions: 12

Compression:

Stored size: 310 Bytes

Contents

# coding: utf-8
module Fir
  class Cli
    desc 'upgrade', '更新 fir-cli 的所有组件'
    output_options
    def upgrade
      _puts '> gem update fir-cli'
      `gem update fir-cli`
      _extends.each do |gem|
        _puts "> gem update #{gem}"
        `gem update #{gem}`
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
fir-cli-0.2.3.1 lib/fir-cli-commands/00-upgrade.rb
fir-cli-0.2.3 lib/fir-cli-commands/00-upgrade.rb
fir-cli-0.2.2 lib/fir-cli-commands/00-upgrade.rb
fir-cli-0.2.1.1 lib/fir-cli-commands/00-upgrade.rb
fir-cli-0.2.1 lib/fir-cli-commands/00-upgrade.rb
fir-cli-0.2.1.d lib/fir-cli-commands/00-upgrade.rb
fir-cli-0.2.1.c lib/fir-cli-commands/00-upgrade.rb
fir-cli-0.2.1.b lib/fir-cli-commands/00-upgrade.rb
fir-cli-0.2.1.a lib/fir-cli-commands/00-upgrade.rb
fir-cli-0.2.0 lib/fir-cli-commands/00-upgrade.rb
fir-cli-0.1.9 lib/fir-cli-commands/00-upgrade.rb
fir-cli-0.1.8 lib/fir-cli-commands/upgrade.rb