Sha256: cb62bff92d6969380cd3ece0f94da42afeecb05e6103308616d4d26761915729
Contents?: true
Size: 578 Bytes
Versions: 168
Compression:
Stored size: 578 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
168 entries across 168 versions & 2 rubygems