HomePhorge

(#6992) Expose available_subcommands as a class method.
14b1e008c136Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#6992) Expose available_subcommands as a class method.

We previously treated the list of legacy commands as an instance property of
Puppet::Util::CommandLine. This made it difficult to obtain that information
outside the context of the instantiated application.

In the longer term this should wither and die as we eliminate the legacy
applications entirely, but until then exposing that on the class is the
lightest mechanism for making that useful.

Paired-With: Matt Robinson <matt@puppetlabs.com>

Details

Provenance
Daniel Pittman <daniel@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU4eccd53da905: (#6962) Implement Face#summary support for the help face.
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Pittman <daniel@puppetlabs.com> committed rPU14b1e008c136: (#6992) Expose available_subcommands as a class method. (authored by Daniel Pittman <daniel@puppetlabs.com>).Apr 13 2011, 1:12 AM