compose, verify, and share form contracts at the command line
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin Use JavaScript Standard Style Oct 26, 2016
source
test Add --blank-text Oct 27, 2016
.editorconfig
.gitignore first draft Feb 7, 2015
.istanbul.yml
.npmignore
.travis.yml
CONTRIBUTING.md Remove mention of lint tools from CONTRIBUTING Nov 3, 2015
LICENSE
NOTICE Update NOTICE Jan 13, 2016
README.md Merge pull request #29 from commonform/documentation-number Feb 25, 2016
npm-shrinkwrap.json stream-buffers@3.0.2 Oct 9, 2018
package.json

README.md

Compose, verify, and share form contracts at the command line.

Installation

At the command line, with npm installed:

npm --global install commonform-cli
commonform --help

commonform-cli is tested on the current Stable and Long Term Support (LTS) versions of Node.js. Please see the Travis CI configuration file.

Examples

You may like to download a few sample form documents to start:

$ git clone https://github.com/commonform/commonform-samples samples
$ cd samples

To format a form, say the Orrick Mutual NDA, for reading in the terminal:

$ commonform render Orrick-Mutual-NDA.commonform

To convert to OfficeOpenXML (.docx) for Microsoft Word:

$ commonform render --format docx Orrick-Mutual-NDA.commonform

And with a title:

$ commonform render --title "Mutual Nondisclosure Agreement" --format docx Orrick-Mutual-NDA.commonform

To check a form for technical errors:

$ commonform lint SAFE-MFN.commonform

To view automated style critiques:

$ commonform critique IBM-Cloud-Services-Agreement.commonform

To hash a form:

$ commonform hash Contract-Standards-TOS.commonform

To apply a different section-numbering scheme:

$ commonform render --title "Mutual Nondisclosure Agreement" --format docx --number decimal Orrick-Mutual-NDA.commonform

To see a list of additional subcommands and their options:

$ commonform --usage

Related Projects

For Vim users there is also vim-commonform with syntax highlighting and conveniences for Common Form markup.