Skip to content
LIFF(LINE Front-end Framework) cli tool.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
apiRequest.js
main.js
package.json

README.md

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
You can’t perform that action at this time.