liff
v1.2.0
Published
LIFF(LINE Front-end Framework) cli
Downloads
141
Readme
liff-cli
LIFF(LINE Front-end Framework) cli tool
https://developers.line.me/en/docs/liff/overview/
Installation
$ npm install -g liff
$ liff init {LINE_ACCESS_TOKEN}
Usage
init
set liff commands.
$ liff init {LINE_ACCESS_TOKEN}
list
list all registered liff applications.
$ liff list
add
create new liff application.
$ liff add <url> <type:full|tall|compact>
update
update the liff application.
$ liff update <liffId> <url> <type:full|tall|compact>
delete
delete specified liff.
$ liff delete <liffId>
delete all
delete all liff applications.
$ liff deleteAll
send test
send liff application URL to specified line user.
$ liff send <liffId> <userId>
examples
liff init {LINE_ACCESS_TOKEN}
liff list
liff add https://developers.line.me/en/docs/liff/overview/ tall
liff add https://developers.line.me/en/docs/liff/overview/ compact
liff update 1555709429-5zJQmooA https://developers.line.me/en/docs/liff/overview/ tall
liff delete 1555709429-5zJQmooA
liff deleteAll
liff send 1555709429-5zJQmooA Ue52d11061890315xxxxxxxxxxx