1.0.0 • Published 7 years ago

formcarry-cli v1.0.0

Weekly downloads
4
License
Apache-2.0
Repository
github
Last release
7 years ago

Formcarry CLI

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:

CommandDescription
loginlogin to your formcarry account
add options create a new form
delete delete form with id
formsList 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:

OptionDescription
-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 "myfist@mail.com, mysecond@mail.com"

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  │
└───────────┴──────────────────┴─────────────────────────────┘