formcarry-cli
v1.0.0
Published
The command line interface for Formcarry
Downloads
4
Readme
Usage
Formcarry CLI enables form creation, listing and removing forms in your terminal.
Installation:
$ npm install -g formcarry-cli
Login to Your Account:
$ formcarry login
Available Commands:
Command | Description --- | --- login | login to your formcarry account add [options] | create a new form delete | delete form with id forms | List your form's
Create A New Form:
$ formcarry add "My Sweet Form"
Output:
✔ Your form is successfully created
✔ Your endpoint url copied to clipboard:
https://formcarry.com/s/BywEPAJNb
Available Options:
Option | Description --- | --- -n, --notify | notify those email adresses, split with comma -r, --return | specify return url
With options:
$ formcarry add "My Sweet Form" -r "https://myreturnurl.io" -n "[email protected], [email protected]"
Output:
✔ Your form is successfully created
✔ Your endpoint url copied to clipboard:
https://formcarry.com/s/BywEPAJNb
Deleting Form:
$ formcarry delete BJedGRDQZ
Output:
✔ Your form is successfully deleted.
Listing Forms:
$ formcarry forms
Output:
┌───────────┬──────────────────┬─────────────────────────────┐
│ ID │ Name │ Created At │
├───────────┼──────────────────┼─────────────────────────────┤
│ rJwOBh6XZ │ First. │ June 26th 2017, 1:12:39 am │
├───────────┼──────────────────┼─────────────────────────────┤
│ BJedGRDQZ │ Second. │ June 21st 2017, 2:01:27 pm │
└───────────┴──────────────────┴─────────────────────────────┘