Skip to content

Commit

Permalink
[SKIP CI] Prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
jiqiang90 committed Oct 24, 2023
1 parent 924aed2 commit 99689cb
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 39 deletions.
Empty file added .yarn/versions/6e6aceca.yml
Empty file.
51 changes: 14 additions & 37 deletions packages/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ $ npm install -g @subql/cli
$ subql COMMAND
running command...
$ subql (--version)
@subql/cli/4.0.6-1 linux-x64 node-v18.18.2
@subql/cli/4.0.6-2 linux-x64 node-v18.18.2
$ subql --help [COMMAND]
USAGE
$ subql COMMAND
Expand All @@ -49,7 +49,6 @@ USAGE
- [`subql project:create-project`](#subql-projectcreate-project)
- [`subql project:delete-project`](#subql-projectdelete-project)
- [`subql publish`](#subql-publish)
- [`subql validate`](#subql-validate)

## `subql build`

Expand All @@ -70,7 +69,7 @@ DESCRIPTION
Build this SubQuery project code
```

_See code: [lib/commands/build/index.js](https://github.com/packages/cli/blob/v4.0.6-1/lib/commands/build/index.js)_
_See code: [lib/commands/build/index.js](https://github.com/packages/cli/blob/v4.0.6-2/lib/commands/build/index.js)_

## `subql codegen`

Expand All @@ -88,7 +87,7 @@ DESCRIPTION
Generate schemas for graph node
```

_See code: [lib/commands/codegen/index.js](https://github.com/packages/cli/blob/v4.0.6-1/lib/commands/codegen/index.js)_
_See code: [lib/commands/codegen/index.js](https://github.com/packages/cli/blob/v4.0.6-2/lib/commands/codegen/index.js)_

## `subql codegen:generate`

Expand All @@ -111,7 +110,7 @@ DESCRIPTION
Generate Project.yaml and mapping functions based on provided ABI
```

_See code: [lib/commands/codegen/generate.js](https://github.com/packages/cli/blob/v4.0.6-1/lib/commands/codegen/generate.js)_
_See code: [lib/commands/codegen/generate.js](https://github.com/packages/cli/blob/v4.0.6-2/lib/commands/codegen/generate.js)_

## `subql deployment`

Expand Down Expand Up @@ -154,7 +153,7 @@ DESCRIPTION
Deploy to hosted service
```

_See code: [lib/commands/deployment/index.js](https://github.com/packages/cli/blob/v4.0.6-1/lib/commands/deployment/index.js)_
_See code: [lib/commands/deployment/index.js](https://github.com/packages/cli/blob/v4.0.6-2/lib/commands/deployment/index.js)_

## `subql deployment:delete`

Expand All @@ -173,7 +172,7 @@ DESCRIPTION
Delete Deployment
```

_See code: [lib/commands/deployment/delete.js](https://github.com/packages/cli/blob/v4.0.6-1/lib/commands/deployment/delete.js)_
_See code: [lib/commands/deployment/delete.js](https://github.com/packages/cli/blob/v4.0.6-2/lib/commands/deployment/delete.js)_

## `subql deployment:deploy`

Expand Down Expand Up @@ -213,7 +212,7 @@ DESCRIPTION
Deployment to hosted service
```

_See code: [lib/commands/deployment/deploy.js](https://github.com/packages/cli/blob/v4.0.6-1/lib/commands/deployment/deploy.js)_
_See code: [lib/commands/deployment/deploy.js](https://github.com/packages/cli/blob/v4.0.6-2/lib/commands/deployment/deploy.js)_

## `subql deployment:promote`

Expand All @@ -232,7 +231,7 @@ DESCRIPTION
Promote Deployment
```

_See code: [lib/commands/deployment/promote.js](https://github.com/packages/cli/blob/v4.0.6-1/lib/commands/deployment/promote.js)_
_See code: [lib/commands/deployment/promote.js](https://github.com/packages/cli/blob/v4.0.6-2/lib/commands/deployment/promote.js)_

## `subql init [PROJECTNAME]`

Expand All @@ -256,7 +255,7 @@ DESCRIPTION
Initialize a scaffold subquery project
```

_See code: [lib/commands/init.js](https://github.com/packages/cli/blob/v4.0.6-1/lib/commands/init.js)_
_See code: [lib/commands/init.js](https://github.com/packages/cli/blob/v4.0.6-2/lib/commands/init.js)_

## `subql multi-chain:add`

Expand All @@ -275,7 +274,7 @@ DESCRIPTION
Add new chain manifest to multi-chain configuration
```

_See code: [lib/commands/multi-chain/add.js](https://github.com/packages/cli/blob/v4.0.6-1/lib/commands/multi-chain/add.js)_
_See code: [lib/commands/multi-chain/add.js](https://github.com/packages/cli/blob/v4.0.6-2/lib/commands/multi-chain/add.js)_

## `subql project`

Expand All @@ -301,7 +300,7 @@ DESCRIPTION
Create/Delete project
```

_See code: [lib/commands/project/index.js](https://github.com/packages/cli/blob/v4.0.6-1/lib/commands/project/index.js)_
_See code: [lib/commands/project/index.js](https://github.com/packages/cli/blob/v4.0.6-2/lib/commands/project/index.js)_

## `subql project:create-project`

Expand All @@ -326,7 +325,7 @@ DESCRIPTION
Create Project on Hosted Service
```

_See code: [lib/commands/project/create-project.js](https://github.com/packages/cli/blob/v4.0.6-1/lib/commands/project/create-project.js)_
_See code: [lib/commands/project/create-project.js](https://github.com/packages/cli/blob/v4.0.6-2/lib/commands/project/create-project.js)_

## `subql project:delete-project`

Expand All @@ -344,7 +343,7 @@ DESCRIPTION
Delete Project on Hosted Service
```

_See code: [lib/commands/project/delete-project.js](https://github.com/packages/cli/blob/v4.0.6-1/lib/commands/project/delete-project.js)_
_See code: [lib/commands/project/delete-project.js](https://github.com/packages/cli/blob/v4.0.6-2/lib/commands/project/delete-project.js)_

## `subql publish`

Expand All @@ -363,28 +362,6 @@ DESCRIPTION
Upload this SubQuery project to IPFS
```

_See code: [lib/commands/publish.js](https://github.com/packages/cli/blob/v4.0.6-1/lib/commands/publish.js)_

## `subql validate`

Check a folder or github repo is a validate subquery project

```
USAGE
$ subql validate [-l <value>] [--ipfs <value>] [--silent] [--network-family
Substrate|Cosmos|Algorand|Ethereum|Flare|Near|Stellar]
FLAGS
-l, --location=<value> local folder, github repo url or IPFS cid
--ipfs=<value> [default: https://unauthipfs.subquery.network/ipfs/api/v0] IPFS gateway endpoint, used for
validating projects on IPFS
--network-family=<option> <options: Substrate|Cosmos|Algorand|Ethereum|Flare|Near|Stellar>
--silent
DESCRIPTION
Check a folder or github repo is a validate subquery project
```

_See code: [lib/commands/validate.js](https://github.com/packages/cli/blob/v4.0.6-1/lib/commands/validate.js)_
_See code: [lib/commands/publish.js](https://github.com/packages/cli/blob/v4.0.6-2/lib/commands/publish.js)_

<!-- commandsstop -->
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@subql/cli",
"description": "cli for subquery",
"version": "4.0.6-1",
"version": "4.0.6-2",
"author": "Ian He",
"bin": {
"subql": "./bin/run"
Expand Down Expand Up @@ -88,5 +88,5 @@
"resolutions": {
"node-fetch": "2.6.7"
},
"stableVersion": "4.0.6-0"
"stableVersion": "4.0.6-1"
}

0 comments on commit 99689cb

Please sign in to comment.