Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/formcarry/formcarry-cli

The command line interface for Formcarry 🎉
https://github.com/formcarry/formcarry-cli

Last synced: 3 months ago
JSON representation

The command line interface for Formcarry 🎉

Awesome Lists containing this project

README

        

![Formcarry CLI](https://s3-us-west-2.amazonaws.com/formcarry/repo-banner.jpg "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:
Command | Description
--- | ---
login | login to your formcarry account
add [options] | create a new form
delete | delete form with id
forms | List your forms

## Create A New Form:
```
$ formcarry add "My Sweet Form"
```
Output:
```
✔ Your form was 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 was successfully created
✔ Your endpoint url copied to clipboard:
https://formcarry.com/s/BywEPAJNb
```

## Deleting Form:
```
$ formcarry delete BJedGRDQZ
```
Output:
```
✔ Your form was 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 │
└───────────┴──────────────────┴─────────────────────────────┘
```