0.1.0 ā¢ Published 4 years ago
supertoss-generator-cli v0.1.0
supertoss-generator-cli
$ gsl
š Install
$ npm install -g supertoss-generator-cli
# or yarn global add supertoss-generator-cli
$ gsl -h
šø Showcase
Command mode
$ gsl test/service productId=18 -n adaptive -a
Interactive mode
$ gsl
? Service path: test/service
? Query parameter in service: productId=18
? Target phase: alpha
? Target scheme: lab
? Transparent Navbar option: adaptive
? With title:
Output
# Output:
āāāāāāāāāāā¬āāāāāāāāāāāāāāāāāāāā¬āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā¬āāāāāāāāāāāāāāāāā¬āāāāāāāāāāāāāāāāāā¬āāāāāāāāāāāāāāāāāāāāāāāāāā
ā (index) ā scheme ā origin ā service ā serviceQuery ā schemeQuery ā
āāāāāāāāāāā¼āāāāāāāāāāāāāāāāāāāā¼āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā¼āāāāāāāāāāāāāāāāā¼āāāāāāāāāāāāāāāāāā¼āāāāāāāāāāāāāāāāāāāāāāāāāā¤
ā 0 ā 'supertoss://lab' ā 'https://service-alpha.toss.im' ā 'test/service' ā '?productId=18' ā '&transparent=adaptive' ā
āāāāāāāāāāā“āāāāāāāāāāāāāāāāāāāā“āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā“āāāāāāāāāāāāāāāāā“āāāāāāāāāāāāāāāāāā“āāāāāāāāāāāāāāāāāāāāāāāāāā
š Decoded: supertoss://lab?url=https://service-alpha.toss.im/test/service?productId=18&transparent=adaptive
ā
Encoded: supertoss://lab?url=https%3A%2F%2Fservice-alpha.toss.im%2Ftest%2Fservice%3FproductId%3D18&transparent=adaptive
š Copied! cmd+v or ctrl+v
š Development
$ git clone git@github.com:toss/supertoss-generator-cli.git
$ yarn
$ ./bin/run -h # or yarn command or npm run command
$ npm run test # yarn test
$ npm run cli # yarn cli