Sha256: 849cff4b67b0a247165846168a534f65396217807bdf85232c327c7e3a4404c0

Contents?: true

Size: 1.12 KB

Versions: 8

Compression:

Stored size: 1.12 KB

Contents

---
title:     Command Line Interface
id:        cli
blurb:     <code>middleman-pagegroups</code> has a small CLI.
layout:    template-logo-medium
navigator: true
---

# <%= current_page.data.title %>

`middleman-pagegroups` has a small command line interface that might be useful
for generating sample documentation or installing the sample partials.

The CLI takes the format:

~~~ bash
middleman-pagegroups command [options]
~~~

…where the following commands are available.

`documentation`

 : Produces a sample project named `middleman-pagegroups-docs/` in your current
   working directory. This sample uses the features of this gem. You can then
   serve this new project to read the documentation by:

~~~ bash
cd middleman-pagegroups-docs
bundle install
bundle exec middleman server
~~~


`help`

 : Displays CLI usage help.
 
`partials` [_directory_]

 : Produces sample partial files into your current working directory, or into
   _`directory`_ if you specify one. These partials can then be used using
   Middleman's `partials` helper in your own projects.
 
`--version` or `-v`

 : Displays the version of `middleman-pagegroups`.

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
middleman-pagegroups-1.0.10 documentation_project/source/documentation/90_cli.html.md.erb
middleman-pagegroups-1.0.9 documentation_project/source/documentation/90_cli.html.md.erb
middleman-pagegroups-1.0.8 documentation_project/source/documentation/90_cli.html.md.erb
middleman-pagegroups-1.0.7 documentation_project/source/documentation/90_cli.html.md.erb
middleman-pagegroups-1.0.6 documentation_project/source/documentation/90_cli.html.md.erb
middleman-pagegroups-1.0.5 documentation_project/source/documentation/90_cli.html.md.erb
middleman-pagegroups-1.0.4 documentation_project/source/documentation/90_cli.html.md.erb
middleman-pagegroups-1.0.3 documentation_project/source/documentation/90_cli.html.md.erb