Compose, verify, and share form contracts at the command line.
At the command line, with npm installed:
npm --global install commonform-cli
commonform --helpcommonform-cli is tested on the current Stable and Long Term Support (LTS) versions of Node.js. Please see the Travis CI configuration file.
You may like to download a few sample form documents to start:
$ git clone https://github.com/commonform/commonform-samples samples
$ cd samplesTo format a form, say the Orrick Mutual NDA, for reading in the terminal:
$ commonform render Orrick-Mutual-NDA.commonformTo convert to OfficeOpenXML (.docx) for Microsoft Word:
$ commonform render --format docx Orrick-Mutual-NDA.commonformAnd with a title:
$ commonform render --title "Mutual Nondisclosure Agreement" --format docx Orrick-Mutual-NDA.commonformTo check a form for technical errors:
$ commonform lint SAFE-MFN.commonformTo view automated style critiques:
$ commonform critique IBM-Cloud-Services-Agreement.commonformTo hash a form:
$ commonform hash Contract-Standards-TOS.commonformTo apply a different section-numbering scheme:
$ commonform render --title "Mutual Nondisclosure Agreement" --format docx --number decimal Orrick-Mutual-NDA.commonformTo see a list of additional subcommands and their options:
$ commonform --usageFor Vim users there is also vim-commonform with syntax highlighting and conveniences for Common Form markup.