File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33[ ![ npm version] ( https://badge.fury.io/js/appstore-connect-jwt-generator-cli.svg )] ( https://badge.fury.io/js/appstore-connect-jwt-generator-cli )
44
5- ## Install
5+ ## Useage
6+
7+ ### Run using npx without global installation
8+
9+ ``` sh
10+ npx -y appstore-connect-jwt-generator-cli@latest \
11+ --cert " ${APP_STORE_CONNECT_PRIVATE_KEY} " \
12+ --keyId " ${APP_STORE_CONNECT_API_KEY_ID} " \
13+ --issuerId " ${APP_STORE_CONNECT_ISSURE_ID} "
14+ ```
15+
16+ ### Install globally and run
617
718``` sh
819npm i -g appstore-connect-jwt-generator-cli
1425yarn global add appstore-connect-jwt-generator-cli
1526```
1627
17- ## Usage
28+ or
29+
30+ ``` sh
31+ pnpm add -g appstore-connect-jwt-generator-cli
32+ ```
1833
1934``` sh
20- jwt-gen --cert ${APP_STORE_CONNECT_PRIVATE_KEY} --keyId ${APP_STORE_CONNECT_API_KEY_ID} --issuerId ${APP_STORE_CONNECT_ISSURE_ID}
35+ jwt-gen --cert " ${APP_STORE_CONNECT_PRIVATE_KEY} " \
36+ --keyId " ${APP_STORE_CONNECT_API_KEY_ID} " \
37+ --issuerId " ${APP_STORE_CONNECT_ISSURE_ID} "
2138```
Original file line number Diff line number Diff line change 55 "license" : " MIT" ,
66 "private" : false ,
77 "homepage" : " https://github.com/poad/appstore-connect-jwt-generator-cli#readme" ,
8+ "main" : " bin/index.js" ,
89 "bin" : {
9- "jwt-gen" : " bin/index.js"
10+ "jwt-gen" : " ./bin/cli.js" ,
11+ "appstore-jwt-gen" : " ./bin/cli.js"
1012 },
11- "main" : " bin/cli.js" ,
1213 "type" : " module" ,
1314 "repository" : {
1415 "type" : " git" ,
1516 "url" : " git+https://github.com/poad/appstore-connect-jwt-generator-cli.git"
1617 },
1718 "keywords" : [
18- " jwt" ,
1919 " appstore" ,
20+ " jwt" ,
21+ " api" ,
2022 " cli"
2123 ],
24+ "preferGlobal" : false ,
2225 "scripts" : {
2326 "test" : " vitest run --silent=false --coverage --passWithNoTests" ,
2427 "clean" : " tsc --build --clean" ,
5558 "vitest" : " ^3.2.4"
5659 },
5760 "dependencies" : {
58- "appstore-connect-jwt-generator-core" : " ^2.0.1 " ,
61+ "appstore-connect-jwt-generator-core" : " ^2.0.2 " ,
5962 "arg" : " ^5.0.2" ,
6063 "chalk" : " ^5.6.2" ,
6164 "chalk-template" : " ^1.1.2" ,
6265 "log4js" : " ^6.9.1"
6366 },
6467 "files" : [
6568 " package.json" ,
66- " bin/*"
69+ " bin/*" ,
70+ " README.md"
6771 ],
6872 "exports" : {
6973 "." : {
7478 "engines" : {
7579 "npm" : " use pnpm please!" ,
7680 "yarn" : " use pnpm please!" ,
77- "pnpm" : " >=8.7.1" ,
7881 "node" : " >=22.0.0"
7982 },
8083 "publishConfig" : {
You can’t perform that action at this time.
0 commit comments