0.15.0 • Published 1 month ago

jj-cli v0.15.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month 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...
0.15.0

1 month ago

0.14.3

11 months ago

0.14.4

11 months ago

0.14.1

2 years ago

0.14.2

2 years ago

0.13.0

2 years ago

0.12.1

2 years ago

0.14.0

2 years ago

0.12.2

2 years ago

0.11.2

2 years ago

0.12.0

2 years ago

0.11.0

2 years ago

0.11.1

2 years ago

0.10.8

3 years ago

0.9.16

3 years ago

0.9.17

3 years ago

0.10.1

3 years ago

0.10.2

3 years ago

0.10.3

3 years ago

0.10.4

3 years ago

0.10.5

3 years ago

0.10.6

3 years ago

0.10.7

3 years ago

0.10.0

3 years ago

0.9.12

3 years ago

0.9.13

3 years ago

0.9.14

3 years ago

0.9.15

3 years ago

0.9.11

3 years ago

0.9.10

3 years ago

0.9.0

3 years ago

0.9.2

3 years ago

0.9.1

3 years ago

0.9.8

3 years ago

0.9.7

3 years ago

0.9.9

3 years ago

0.9.4

3 years ago

0.9.3

3 years ago

0.9.6

3 years ago

0.9.5

3 years ago

0.8.2

3 years ago

0.8.1

3 years ago

0.8.0

3 years ago

0.7.0

3 years ago

0.6.2

3 years ago

0.6.1

3 years ago

0.6.0

3 years ago

0.5.10

3 years ago

0.5.9

3 years ago

0.5.8

3 years ago

0.5.7

3 years ago

0.5.6

3 years ago

0.5.5

3 years ago

0.5.4

3 years ago

0.5.3

3 years ago

0.5.0

3 years ago

0.5.2

3 years ago

0.5.1

3 years ago

0.4.4

3 years ago

0.4.3

3 years ago

0.4.2

3 years ago

0.4.1

3 years ago

0.4.0

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.4

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago