Skip to content

Commit

Permalink
Merge pull request #33 from intocode-io/richmenu-unlink
Browse files Browse the repository at this point in the history
Close #13 richmenu unlink
  • Loading branch information
Satana Charuwichitratana authored Sep 14, 2019
2 parents 22746f5 + df4aaf2 commit 2f5b21f
Show file tree
Hide file tree
Showing 17 changed files with 509 additions and 31 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
## [0.6.0]
### Added
- `richmenu link`
- `richmenu unlink`
### Changed
- Re-arrange columns in `richmenu list` and add `name` column
- Update dependencies

## [0.5.0]
### Added
Expand Down
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@
![NPM](https://img.shields.io/npm/l/@intocode-io/line-api-cli)
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://paypal.me/micksatana?locale.x=en_GB)


Command line interface for LINE APIs. This module will help you to easily work with LINE APIs via CLI.

## Short summary

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 a hardcore "Terminal/Console" fanboy, it will reduce your time typing same long cURL commands to work with the APIs. You can focus working in your IDE with developer-friendly command line interface.
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

Expand All @@ -27,7 +26,7 @@ LINE API CLI helps you to work with LINE-API-related projects faster as you do n
- `list`
- `default`
- `link`
- `unlink` (upcoming)
- `unlink`
- `liff` (upcoming)
- `add` (upcoming)
- `remove` (upcoming)
Expand Down Expand Up @@ -133,6 +132,14 @@ Rich menu can be linked to a specific user. For example, if you want a rich menu
richmenu link
```

### Unlink a rich menu from a user

Rich menu can be unlinked from a specific user using `unlink` operation.

```
richmenu unlink
```

## 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
25 changes: 25 additions & 0 deletions bin/apis/rich-menu-unlink-user-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/rich-menu-unlink-user-request.js.map

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

18 changes: 13 additions & 5 deletions bin/commands/richmenu-command.js

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

Loading

0 comments on commit 2f5b21f

Please sign in to comment.