summaryrefslogtreecommitdiffstats
path: root/lib/puppet/face/config.rb
Commit message (Collapse)AuthorAgeFilesLines
* (#7833) Several help text/template editsnfagerlund2011-06-081-2/+2
| | | | | | | | | | | | | | | | This commit makes the following changes: * Changes wrapping on some "returns" blocks to accomodate the way we prepend "RETURNS: " to the first line in short help. * Overrides description for save on faces where save is invalid. (Since save has an inherited description, the description was contradicting the summary.) * Adds notes on dummy arguments to short_description where applicable, so as to show up in short help. * Adds the termini list to the action short help template. * Removes the authors block from short help for faces. (Save it for the man page.) * Several trivial wording changes. Reviewed-By: Jacob Helwig <jacob@puppetlabs.com>
* (#7764, 7775, 7778) Revisions to Faces help textnfagerlund2011-06-071-6/+4
| | | | | | | | | | | | | | Per UX review of help text, this commit makes several changes over the breadth of the Faces help: * Preface API-only action summaries/descriptions with "API only." (issue #7775) * Provide both CLI and API info in "returns," with the CLI info first. (issue #7778) * Summaries should be sentences. (Add punctuation.) * First sentences of descriptions should reiterate summaries. (Summaries and descriptions should be displayed far enough apart that this isn't a problem.) * Standardize on "subcommand" instead of "face" when talking about the entity you invoke at the command line. (Use "face" when describing API use.) * Fix outdated or clunky text in several faces.
* (#7561) Complete help text for all faces and actionsnfagerlund2011-05-261-19/+18
| | | | | | Faces help output relies on input from the documentation methods in each of the faces to be documented. This commit calls those methods in each of our faces, with varying levels of detail depending on their complexity.
* (Maint) Adjust documentation whitespacenfagerlund2011-05-041-19/+19
| | | | | The patch from issue #7221 permits indented heredocs. This patch takes advantage of that to make the doc strings less messy.
* (#6962) Add self-documentation data to puppet facesnfagerlund2011-05-041-1/+32
| | | | | | This patch adds documentation strings to most of the faces, actions, and options introduced in 2.7.0. There are a small number of TK notes remaining, and longer strings have not been indented to take advantage of the patch from issue #7221.
* (#6962) Give copyright and license for all faces.Daniel Pittman2011-04-261-0/+3
| | | | | Now we have the capability, mark all our faces copyright the company and under the Apache 2 license, which indeed they are.
* (7118) Adding summaries for all facesLuke Kanies2011-04-141-0/+2
| | | | | | | | | It's usually just a one-liner, but when I saw an obvious opportunity for longer docs, I've added a @longdocs variable that can be converted to longer forms when ready. Signed-off-by: Luke Kanies <luke@puppetlabs.com>
* (#7056) Use 'face' rather than 'faces' in the production code.Daniel Pittman2011-04-131-0/+12
After some discussion we decided that most uses of the Puppet Face infrastructure were about single faces on their own, not about the collection, and so we were better referring to Puppet::Face[...] in code. This implements that by translating names and references in the Ruby code to the new, s-less, name.