1.1.14 • Published 4 months ago

jj-cli v1.1.14

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

jj-cli

A Tool CLI

Install

    npm i jj-cli -g

Usage git

    j -h (help)
    j gpush <messgae> -b [branch] -d [depository]
    j gpull -b [branch] -d [depository]
    j gtag [tagName] -d [depository]

Usage open ios/platform

  • For: cordova app / capacitor app
    j open ios
    j open android
    j openpath xxxx  // open your folder

Usage upload ios/platform to appcenter

  • For: cordova app / capacitor app
  • Before using, make sure that there is .apk/.ipa under the ios/android folder , Or set your apppath: --apppath: xxxxx(./)
    j upload android -n <appcenter release notes> -path xxxx
    j upload ios -n <appcenter release notes> -path xxxx
    j appcenter login
    j appcentet logout
    * Contains reading parameters from jj.config.json to upload 
    

Usage template

  • node
  • python xxx(project name)
  • -pn : Set your project name
  • -fp / --folderpath: Set your folder path.

    j create node 
    j create node -fp xxxxxx
    j create python xxxx(project name)
    j create python xxxx -fp xxxxxx

Usage preview

  • Help you run a local service
  • j preview
  • -host: default is localhost
  • -port: default is 5000
  • -staticFolderName: default is dist
    j preview
    j preview -host 192.168.3.2
    j preview -port 5888

Usage ip

  • Get the IP address of your pc/mac
    j ip

Usage sign

  • Help you sign android apk; platform: android(default)
  • Please write your config file at current directory
{

    "unsignedApk": "./app-release-unsigned.apk",
    "defaultAlias": "key0",
    "defaultAppcenterToken": "xxxx",
    "projects": [
        {
            "name": "xxxx",
            "keyStoreFile": "xxxx/bkapp.jks",
            "storepass": "pwd",
            "keypass": "pwd",
            "alias": "key0",
            "appcenter": {
                "android": {
                    "prd": {
                        "userName": "xxx",
                        "appName": "xxxx",
                        "group": "xxx"
                    },
                    "uat": {
                        "userName": "xxx",
                        "appName": "xxxx",
                        "group": "xxx"
                    }
                },
                "ios": {
                    "prd": {
                       "userName": "xxx",
                        "appName": "xxxx",
                        "group": "xxx"
                    },
                    "uat": {
                        "userName": "xxx",
                        "appName": "xxxx",
                        "group": "xxx"
                    }
                }
            },
            "pgyer": {
                "apiKey": "xxx",
                "userKey": "xxx",
                "buildPassword": "xxxx",
                "android": {
                    "appKey": "xxxxx",
                    "description": "for test"
                },
                "ios": {
                    "appKey": "xxxx",
                    "description": "for test"
                }
            }
        }
    ]

}
j sign
j sign -pn xxx(your project, find from projects in config )
j sign -fp xxxxx(your signature configuration folder path, must have jj.config.json, jks...)
j sign -appcenter xxx(prd/uat: Specify the uat/prd you. configured in jj.config.json )

Usage zip

  • Help you zip file or folder
j zip -output xxx.zip file file folder...
1.1.1

8 months ago

1.1.0

8 months ago

1.1.9

7 months ago

1.1.8

7 months ago

1.1.7

7 months ago

1.1.6

7 months ago

1.1.5

7 months ago

1.1.4

8 months ago

1.1.3

8 months ago

1.1.2

8 months ago

1.1.12

4 months ago

1.1.11

6 months ago

1.1.10

7 months ago

1.1.14

4 months ago

1.1.13

4 months ago

1.0.6

8 months ago

1.0.5

10 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

0.15.4

11 months ago

0.15.1

1 year ago

0.15.2

1 year ago

0.15.3

1 year ago

0.15.0

1 year ago

0.14.3

2 years ago

0.14.4

2 years ago

0.14.1

3 years ago

0.14.2

3 years ago

0.13.0

3 years ago

0.12.1

3 years ago

0.14.0

3 years ago

0.12.2

3 years ago

0.11.2

4 years ago

0.12.0

4 years ago

0.11.0

4 years ago

0.11.1

4 years ago

0.10.8

4 years ago

0.9.16

4 years ago

0.9.17

4 years ago

0.10.1

4 years ago

0.10.2

4 years ago

0.10.3

4 years ago

0.10.4

4 years ago

0.10.5

4 years ago

0.10.6

4 years ago

0.10.7

4 years ago

0.10.0

4 years ago

0.9.12

4 years ago

0.9.13

4 years ago

0.9.14

4 years ago

0.9.15

4 years ago

0.9.11

4 years ago

0.9.10

4 years ago

0.9.0

4 years ago

0.9.2

4 years ago

0.9.1

4 years ago

0.9.8

4 years ago

0.9.7

4 years ago

0.9.9

4 years ago

0.9.4

4 years ago

0.9.3

4 years ago

0.9.6

4 years ago

0.9.5

4 years ago

0.8.2

4 years ago

0.8.1

4 years ago

0.8.0

4 years ago

0.7.0

4 years ago

0.6.2

4 years ago

0.6.1

4 years ago

0.6.0

4 years ago

0.5.10

4 years ago

0.5.9

4 years ago

0.5.8

4 years ago

0.5.7

4 years ago

0.5.6

4 years ago

0.5.5

4 years ago

0.5.4

4 years ago

0.5.3

4 years ago

0.5.0

4 years ago

0.5.2

4 years ago

0.5.1

4 years ago

0.4.4

4 years ago

0.4.3

4 years ago

0.4.2

4 years ago

0.4.1

4 years ago

0.4.0

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.4

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago