Package Exports
- @intocode-io/line-api-cli
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@intocode-io/line-api-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
line-api-cli-nodejs
Command line interface for LINE APIs. This module will help you to easily work with LINE APIs via CLI.
Installation
npm i @intocode-io/line-api-cli -g

Project setup
To initialize project configuration file, run the following command.
line init
It will create .line-api-cli.yml
configuration file containing necessary information for the CLI to handle API request/response for you.

Issue a short-lived access token
To issue a short-lived access token, run the following command.
line token --issue
It will issue a short-lived access token. You can choose whether to replace the token into .line-api-cli.yml

Revoke access token
To revoke access token, run the following command.
line token --revoke
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,
line token --help
Or
line --help

License
MIT License
Copyright (c) 2019 intocode Co., Ltd.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Images copyright notice
Images used in this repository are not own by any maintainers. Do NOT distribute the images. They are used only for friendly-looking CLI. If a copyright owner would like to remove any image, please open an issue here and we will remove as soon as possible.