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 β
βββββββββββββ΄βββββββββββββββββββ΄ββββββββββββββββββββββββββββββ