Skip to content

Commit

Permalink
Merge pull request #53 from intocode-io/delete-a-scenario-set
Browse files Browse the repository at this point in the history
things remove:scenario-set
  • Loading branch information
Satana Charuwichitratana authored Dec 3, 2019
2 parents bbe7e08 + 0394146 commit e2e0ca7
Show file tree
Hide file tree
Showing 23 changed files with 542 additions and 10 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Changelog

## [1.2.0]
### Added
- `things register:scenario-set` Register (create or update) a scenario set for automatic communication under a product.
- `things get:scenario-set` Get the scenario set registered under a product.
- `things get:scenario-set` Get the scenario set registered under a product
- `things remove:scenario-set` Delete a scenario set registered under a product

## [1.1.0]
### Added
Expand Down
18 changes: 15 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,33 +14,39 @@ Command line interface for LINE APIs. This module will help you to easily work w
LINE API CLI helps you to work with LINE-API-related projects faster as you do not need to switch between a web browser and IDE ( after your first-time setup :P ). If you already are a hardcore "Terminal/Console" fanboy that using cURL to work with LINE APIs, using this package will reduce your time typing same long API cURL commands.

### Available commands, operations, and options

#### LINE API configuration and token management
- `line`
- `init`
- `token`
- `--issue`
- `--revoke`
#### Richmenu API
- `richmenu`
- `add`
- `remove`
- `list`
- `default`
- `link`
- `unlink`
#### LIFF API v1
- `liff`
- `add`
- `remove`
- `update`
- `list`
#### LINE Things API
- `things`
- `add:trial`
- `remove:trial`
- `list:trial`
- `get:device`
- `get:devices`
- `get:product`
- `register:scenario-set`
- `get:scenario-set`
#### Scenario management API for automatic communication
- `things`
- `register:scenario-set`
- `remove:scenario-set`
- `get:scenario-set`

## Installation

Expand Down Expand Up @@ -230,6 +236,12 @@ things register:scenario-set
things get:scenario-set
```

### Delete a scenario set registered under a product

```
things remove:scenario-set
```

## Comprehensive usage

We provide comprehensive usage of each command / operation / option with CLI. Simply run a command with/without operation and follow by `--help` option. For example,
Expand Down
35 changes: 35 additions & 0 deletions bin/apis/things-remove-product-scenario-set-request.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions bin/apis/things-remove-product-scenario-set-request.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion bin/commands/things-command.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bin/commands/things-command.js.map

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions bin/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bin/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

67 changes: 67 additions & 0 deletions bin/operations/things-remove-scenario-set-operation.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e2e0ca7

Please sign in to comment.