mirror of
https://github.com/placeholder-soft/libs.git
synced 2026-04-29 21:17:07 +08:00
* feat: type-env lib * feat/typed env cli (#2) * chore: create typed-env cli * feat: typed-env cli implementation * chore: build cli * publish cli * feat: supplementary documents * chore: change phs to placeholdersoft * chore: add keywords/homepage/repository * chore: del description
1 line
3.3 KiB
JSON
1 line
3.3 KiB
JSON
{"version":"0.0.3","commands":{"diff-env-name":{"id":"diff-env-name","description":"Output diff env name","strict":true,"pluginName":"@placeholdersoft/typed-env-cli","pluginAlias":"@placeholdersoft/typed-env-cli","pluginType":"core","aliases":[],"examples":["$ typed-env diff-env-name -a \"$(env)\" -p \"$(env)\""],"flags":{"prev-env":{"name":"prev-env","type":"option","char":"p","description":"enter current env json","required":true,"multiple":false},"after-env":{"name":"after-env","type":"option","char":"a","description":"enter change env json","required":true,"multiple":false}},"args":[]},"diff-env":{"id":"diff-env","description":"Output diff env","strict":true,"pluginName":"@placeholdersoft/typed-env-cli","pluginAlias":"@placeholdersoft/typed-env-cli","pluginType":"core","aliases":[],"examples":["$ typed-env diff-env -a \"$(env)\" -p \"$(env)\""],"flags":{"prev-env":{"name":"prev-env","type":"option","char":"p","description":"enter current env json","required":true,"multiple":false},"after-env":{"name":"after-env","type":"option","char":"a","description":"enter change env json","required":true,"multiple":false}},"args":[]},"gen-env-name-type":{"id":"gen-env-name-type","description":"Generate env name type definition","strict":true,"pluginName":"@placeholdersoft/typed-env-cli","pluginAlias":"@placeholdersoft/typed-env-cli","pluginType":"core","aliases":[],"examples":["$ typed-env gen-env-name-type -s ./src/index.ts -t ./tsconfig.json -o ./src/env.d.ts"],"flags":{"source-file":{"name":"source-file","type":"option","char":"s","description":"enter the file path to check","required":true,"multiple":false},"tsconfig":{"name":"tsconfig","type":"option","char":"t","description":"enter the tsconfig.json path","required":true,"multiple":false},"output":{"name":"output","type":"option","char":"o","description":"enter the output file path","multiple":false}},"args":[]},"gen-env":{"id":"gen-env","description":"Generate .env","strict":true,"pluginName":"@placeholdersoft/typed-env-cli","pluginAlias":"@placeholdersoft/typed-env-cli","pluginType":"core","aliases":[],"examples":["$ typed-env gen-env -s ./src/index.ts -t ./tsconfig.json -o ./src/.env"],"flags":{"source-file":{"name":"source-file","type":"option","char":"s","description":"enter the file path to check","required":true,"multiple":false},"tsconfig":{"name":"tsconfig","type":"option","char":"t","description":"enter the tsconfig.json path","required":true,"multiple":false},"output":{"name":"output","type":"option","char":"o","description":"enter the output file path","multiple":false}},"args":[]},"gen-typed-env-call-usage-report":{"id":"gen-typed-env-call-usage-report","description":"Generate typed-env call usage report","strict":true,"pluginName":"@placeholdersoft/typed-env-cli","pluginAlias":"@placeholdersoft/typed-env-cli","pluginType":"core","aliases":[],"examples":["$ typed-env gen-typed-env-call-usage-report -s ./src/index.ts -t ./tsconfig.json -o ./src/typed-env-call-usage-report.json"],"flags":{"source-file":{"name":"source-file","type":"option","char":"s","description":"enter the file path to check","required":true,"multiple":false},"tsconfig":{"name":"tsconfig","type":"option","char":"t","description":"enter the tsconfig.json path","required":true,"multiple":false},"output":{"name":"output","type":"option","char":"o","description":"enter the output file path","multiple":false}},"args":[]}}} |