New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ganjiang-cli

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ganjiang-cli - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

13

package.json
{
"name": "ganjiang-cli",
"version": "0.0.1",
"version": "0.0.2",
"description": "ganjiang cli tool",

@@ -8,4 +8,3 @@ "main": "index.js",

"test": "echo \"Error: no test specified\" && exit 1",
"start": "node index.js",
"publish": "npm publish"
"start": "node index.js"
},

@@ -52,11 +51,3 @@ "bin": {

"shelljs": "^0.8.3"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-plugin-istanbul": "^5.1.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-register": "^6.26.0"
}
}

74

README.md

@@ -1,1 +0,73 @@

# GanJiang Cli
# GanJiang Cli
## :star: Description
GanJiang Cli tool for simple query app, api, testcase, datasource info, and support publish, rollback, offline or deploy to Ganjiang
## :tada: Install
```bash
npm install ganjiang-cli -g
or
yarn global add ganjiang-cli
```
## :rocket: Usage
after install, run `gj` in terminal
```bash
> gj
```
### Common
- run `gj --version` to get the cli version
- run `gj help <commander>` to get the commander help
### Init GanJiang Config
ganjiang cli is a common tool, so you can connect to the ganjiang system you know
- create env file named `test.env`
- env file contents
```
HOST=https://pre-ganjiang-sh.aliyun.com
TOKEN=VNvnmS33vj
```
- run `gj init --env test.env` to init the config
### Login GanJiang
- run `gj login`
- input your username
- input your password(invisible)
- login sucessfully
### Read My Data
- run `gj read -t app`
- read more by `gj help read`
### Publish My Service
- run `gj publish --env daily --apps 40_234,40_237` to publish 234 and 237 two api to daily env
### Rollback My Service
- developing
### Offline My Service
- developing
### Deploy My Service
- developing
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc