├── .eslintrc.json ├── .github ├── CODEOWNERS └── workflows │ ├── code-check.yml │ ├── publish.yml │ └── semantic-pull-request.yml ├── .gitignore ├── .npmrc ├── .nvmrc ├── .prettierignore ├── .prettierrc ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── changelog.config.ts ├── dev.js ├── index.js ├── package.json ├── src ├── api │ ├── agent.ts │ ├── auth.test.ts │ ├── auth.ts │ ├── liff.test.ts │ └── liff.ts ├── app │ └── commands │ │ ├── create.test.ts │ │ ├── create.ts │ │ ├── delete.test.ts │ │ ├── delete.ts │ │ ├── index.test.ts │ │ ├── index.ts │ │ ├── list.test.ts │ │ ├── list.ts │ │ ├── update.test.ts │ │ └── update.ts ├── channel │ ├── commands │ │ ├── add.test.ts │ │ ├── add.ts │ │ ├── index.test.ts │ │ ├── index.ts │ │ ├── use.test.ts │ │ └── use.ts │ ├── renewAccessToken.test.ts │ ├── renewAccessToken.ts │ ├── resolveChannel.test.ts │ ├── resolveChannel.ts │ └── stores │ │ ├── channels.test.ts │ │ └── channels.ts ├── cli.ts ├── init │ ├── commands │ │ ├── index.test.ts │ │ └── index.ts │ ├── initAction.test.ts │ └── initAction.ts ├── mock.ts ├── scaffold │ ├── commands │ │ ├── index.test.ts │ │ └── index.ts │ ├── scaffoldAction.test.ts │ └── scaffoldAction.ts ├── serve │ ├── commands │ │ ├── index.test.ts │ │ └── index.ts │ ├── proxy │ │ ├── local-proxy.ts │ │ ├── ngrok-proxy.ts │ │ ├── ngrok-v1-proxy.ts │ │ └── proxy-interface.ts │ ├── resolveEndpointUrl.test.ts │ ├── resolveEndpointUrl.ts │ ├── resolveProxy.test.ts │ ├── resolveProxy.ts │ ├── serveAction.test.ts │ └── serveAction.ts ├── setup.test.ts └── setup.ts ├── tsconfig.build.json ├── tsconfig.json ├── vitest.config.ts └── vitest.setup.ts /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @line/liff 2 | -------------------------------------------------------------------------------- /.github/workflows/code-check.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/.github/workflows/code-check.yml -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.github/workflows/semantic-pull-request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/.github/workflows/semantic-pull-request.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | .DS_Store 4 | *.pem 5 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/.npmrc -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | 22.2.0 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | CHANGELOG.md -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/README.md -------------------------------------------------------------------------------- /changelog.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/changelog.config.ts -------------------------------------------------------------------------------- /dev.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/dev.js -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | import "./dist/cli.js"; 4 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/package.json -------------------------------------------------------------------------------- /src/api/agent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/api/agent.ts -------------------------------------------------------------------------------- /src/api/auth.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/api/auth.test.ts -------------------------------------------------------------------------------- /src/api/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/api/auth.ts -------------------------------------------------------------------------------- /src/api/liff.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/api/liff.test.ts -------------------------------------------------------------------------------- /src/api/liff.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/api/liff.ts -------------------------------------------------------------------------------- /src/app/commands/create.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/app/commands/create.test.ts -------------------------------------------------------------------------------- /src/app/commands/create.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/app/commands/create.ts -------------------------------------------------------------------------------- /src/app/commands/delete.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/app/commands/delete.test.ts -------------------------------------------------------------------------------- /src/app/commands/delete.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/app/commands/delete.ts -------------------------------------------------------------------------------- /src/app/commands/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/app/commands/index.test.ts -------------------------------------------------------------------------------- /src/app/commands/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/app/commands/index.ts -------------------------------------------------------------------------------- /src/app/commands/list.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/app/commands/list.test.ts -------------------------------------------------------------------------------- /src/app/commands/list.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/app/commands/list.ts -------------------------------------------------------------------------------- /src/app/commands/update.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/app/commands/update.test.ts -------------------------------------------------------------------------------- /src/app/commands/update.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/app/commands/update.ts -------------------------------------------------------------------------------- /src/channel/commands/add.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/channel/commands/add.test.ts -------------------------------------------------------------------------------- /src/channel/commands/add.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/channel/commands/add.ts -------------------------------------------------------------------------------- /src/channel/commands/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/channel/commands/index.test.ts -------------------------------------------------------------------------------- /src/channel/commands/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/channel/commands/index.ts -------------------------------------------------------------------------------- /src/channel/commands/use.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/channel/commands/use.test.ts -------------------------------------------------------------------------------- /src/channel/commands/use.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/channel/commands/use.ts -------------------------------------------------------------------------------- /src/channel/renewAccessToken.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/channel/renewAccessToken.test.ts -------------------------------------------------------------------------------- /src/channel/renewAccessToken.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/channel/renewAccessToken.ts -------------------------------------------------------------------------------- /src/channel/resolveChannel.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/channel/resolveChannel.test.ts -------------------------------------------------------------------------------- /src/channel/resolveChannel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/channel/resolveChannel.ts -------------------------------------------------------------------------------- /src/channel/stores/channels.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/channel/stores/channels.test.ts -------------------------------------------------------------------------------- /src/channel/stores/channels.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/channel/stores/channels.ts -------------------------------------------------------------------------------- /src/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/cli.ts -------------------------------------------------------------------------------- /src/init/commands/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/init/commands/index.test.ts -------------------------------------------------------------------------------- /src/init/commands/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/init/commands/index.ts -------------------------------------------------------------------------------- /src/init/initAction.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/init/initAction.test.ts -------------------------------------------------------------------------------- /src/init/initAction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/init/initAction.ts -------------------------------------------------------------------------------- /src/mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/mock.ts -------------------------------------------------------------------------------- /src/scaffold/commands/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/scaffold/commands/index.test.ts -------------------------------------------------------------------------------- /src/scaffold/commands/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/scaffold/commands/index.ts -------------------------------------------------------------------------------- /src/scaffold/scaffoldAction.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/scaffold/scaffoldAction.test.ts -------------------------------------------------------------------------------- /src/scaffold/scaffoldAction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/scaffold/scaffoldAction.ts -------------------------------------------------------------------------------- /src/serve/commands/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/serve/commands/index.test.ts -------------------------------------------------------------------------------- /src/serve/commands/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/serve/commands/index.ts -------------------------------------------------------------------------------- /src/serve/proxy/local-proxy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/serve/proxy/local-proxy.ts -------------------------------------------------------------------------------- /src/serve/proxy/ngrok-proxy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/serve/proxy/ngrok-proxy.ts -------------------------------------------------------------------------------- /src/serve/proxy/ngrok-v1-proxy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/serve/proxy/ngrok-v1-proxy.ts -------------------------------------------------------------------------------- /src/serve/proxy/proxy-interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/serve/proxy/proxy-interface.ts -------------------------------------------------------------------------------- /src/serve/resolveEndpointUrl.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/serve/resolveEndpointUrl.test.ts -------------------------------------------------------------------------------- /src/serve/resolveEndpointUrl.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/serve/resolveEndpointUrl.ts -------------------------------------------------------------------------------- /src/serve/resolveProxy.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/serve/resolveProxy.test.ts -------------------------------------------------------------------------------- /src/serve/resolveProxy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/serve/resolveProxy.ts -------------------------------------------------------------------------------- /src/serve/serveAction.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/serve/serveAction.test.ts -------------------------------------------------------------------------------- /src/serve/serveAction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/serve/serveAction.ts -------------------------------------------------------------------------------- /src/setup.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/setup.test.ts -------------------------------------------------------------------------------- /src/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/src/setup.ts -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/tsconfig.json -------------------------------------------------------------------------------- /vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/vitest.config.ts -------------------------------------------------------------------------------- /vitest.setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/line/liff-cli/HEAD/vitest.setup.ts --------------------------------------------------------------------------------