Sha256: 1b4bc83970a3e3f1ca85dd97730a414980cebb7ba31fb447d82ef395416423a5

Contents?: true

Size: 489 Bytes

Versions: 10

Compression:

Stored size: 489 Bytes

Contents

module PDK::CLI
  @set_cmd = @base_cmd.define_command do
    name 'set'
    usage _('set [subcommand] [options]')
    summary _('Set or update information about the PDK or current project.')
    default_subcommand 'help'

    run do |_opts, args, _cmd|
      if args == ['help']
        PDK::CLI.run(%w[set --help])
        exit 0
      end

      PDK::CLI.run(%w[set help]) if args.empty?
    end
  end
  @set_cmd.add_command Cri::Command.new_basic_help
end

require 'pdk/cli/set/config'

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
pdk-2.6.1 lib/pdk/cli/set.rb
pdk-2.6.0 lib/pdk/cli/set.rb
pdk-2.5.0 lib/pdk/cli/set.rb
pdk-2.3.0 lib/pdk/cli/set.rb
pdk-2.2.0 lib/pdk/cli/set.rb
pdk-2.1.1 lib/pdk/cli/set.rb
pdk-2.1.0 lib/pdk/cli/set.rb
pdk-2.0.0 lib/pdk/cli/set.rb
pdk-1.18.1 lib/pdk/cli/set.rb
pdk-1.18.0 lib/pdk/cli/set.rb