Sha256: 6a326094f434f0b062481aafcb1a427cdf9881971820f37adf9018b6eff484cc

Contents?: true

Size: 325 Bytes

Versions: 5

Compression:

Stored size: 325 Bytes

Contents

#!/usr/bin/env ruby
$: << File.expand_path('lib')

require 'cl'

class Base < Cl::Cmd
  abstract
end

class Add < Base
end

Cl.new('owners').help

# Output:
#
#   Type "owners help COMMAND [SUBCOMMAND]" for more details:
#
#   owners add [options]

Cl.new('owners').run(%w(base))

# Error output:
#
#   Unknown command: base

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cl-0.1.28 examples/readme/abstract
cl-0.1.27 examples/readme/abstract
cl-0.1.26 examples/readme/abstract
cl-0.1.25 examples/readme/abstract
cl-0.1.24 examples/readme/abstract