Sha256: 4210a012ad56884ba3e5dab49ed28bc084b31933da6e91e68f0b2b481436b781
Contents?: true
Size: 447 Bytes
Versions: 1
Compression:
Stored size: 447 Bytes
Contents
# frozen_string_literal: true module Command class NoCommand < Base NAME = "no-command" OPTIONS = [version_option].freeze DESCRIPTION = "Called when no command was specified" LONG_DESCRIPTION = <<~DESC - Called when no command was specified DESC HIDE = true def call if config.options[:version] Cpl::Cli.start(["version"]) else Cpl::Cli.start(["help"]) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cpl-1.1.2 | lib/command/no_command.rb |