Formcarry CLI enables form creation, listing and removing forms in your terminal.
Installation:
$ npm install -g formcarry-cli
Login to Your Account:
$ formcarry login
Command | Description |
---|---|
login | login to your formcarry account |
add [options] | create a new form |
delete | delete form with id |
forms | List your forms |
$ formcarry add "My Sweet Form"
Output:
✔ Your form was successfully created
✔ Your endpoint url copied to clipboard:
https://formcarry.com/s/BywEPAJNb
Option | Description |
---|---|
-n, --notify | notify those email adresses, split with comma |
-r, --return | specify return url |
$ formcarry add "My Sweet Form" -r "https://myreturnurl.io" -n "myfist@mail.com, mysecond@mail.com"
Output:
✔ Your form was successfully created
✔ Your endpoint url copied to clipboard:
https://formcarry.com/s/BywEPAJNb
$ formcarry delete BJedGRDQZ
Output:
✔ Your form was successfully deleted.
$ 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 │
└───────────┴──────────────────┴─────────────────────────────┘