Sha256: 85086d0a293405072fa2599ae6f1e99e549ad7a34a85667bb878a22d616cf19e
Contents?: true
Size: 602 Bytes
Versions: 6
Compression:
Stored size: 602 Bytes
Contents
# encoding: utf-8 # author: Christoph Hartmann # author: Dominik Richter module Inspec module Plugins # stores all CLI plugin, we expect those to the `Thor` subclasses class CLI def self.subcommands @subcommands ||= {} end def self.add_subcommand(klass, subcommand_name, usage, description, options = {}) subcommands[subcommand_name] = { klass: klass, subcommand_name: subcommand_name, usage: usage, description: description, options: options, } end end end end
Version data entries
6 entries across 6 versions & 1 rubygems