Method: Cpflow::Cli.subcommand_names
- Defined in:
- lib/cpflow.rb
.subcommand_names ⇒ Object
153 154 155 |
# File 'lib/cpflow.rb', line 153 def self.subcommand_names Dir["#{__dir__}/command/*"].filter_map { |name| File.basename(name) if File.directory?(name) } end |