Skip to content

Commit

Permalink
[SKIP CI] Prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
bz888 committed Mar 4, 2024
1 parent 08940f1 commit f62f8d7
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 64 deletions.
Empty file added .yarn/versions/991d9292.yml
Empty file.
133 changes: 71 additions & 62 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.2.6-1 linux-x64 node-v18.19.0
@subql/cli/4.3.1-0 linux-x64 node-v18.19.1
$ subql --help [COMMAND]
USAGE
$ subql COMMAND
Expand Down Expand Up @@ -69,7 +69,7 @@ DESCRIPTION
Build this SubQuery project code
```

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

## `subql codegen`

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

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

## `subql codegen:generate`

Expand All @@ -110,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.2.6-1/lib/commands/codegen/generate.js)_
_See code: [lib/commands/codegen/generate.js](https://github.com/packages/cli/blob/v4.3.1-0/lib/commands/codegen/generate.js)_

## `subql deployment`

Expand All @@ -121,39 +121,44 @@ USAGE
$ subql deployment --endpoint <value> [--options deploy|promote|delete] [--org <value>] [--projectName
<value>] [--ipfsCID <value>] [--type stage|primary] [--indexerVersion <value>] [--queryVersion <value>] [--dict
<value>] [--indexerUnsafe] [--indexerBatchSize <value>] [--indexerSubscription] [--disableHistorical]
[--indexerWorkers <value>] [--queryUnsafe] [--querySubscription] [--queryTimeout <value>] [--queryMaxConnection
<value>] [--queryAggregate] [-d] [--project_name <value>] [--deploymentID <value>]
[--indexerUnfinalized] [--indexerStoreCacheThreshold <value>] [--disableIndexerStoreCacheAsync] [--indexerWorkers
<value>] [--queryUnsafe] [--querySubscription] [--queryTimeout <value>] [--queryMaxConnection <value>]
[--queryAggregate] [-d] [--project_name <value>] [--deploymentID <value>]
FLAGS
-d, --useDefaults Use default values for indexerVersion, queryVersion, dictionary, endpoint
--deploymentID=<value> Enter deployment ID
--dict=<value> Enter dictionary
--disableHistorical Disable Historical Data
--endpoint=<value> (required) Enter endpoint
--indexerBatchSize=<value> Enter batchSize from 1 to 30
--indexerSubscription Enable Indexer subscription
--indexerUnsafe Enable indexer unsafe
--indexerVersion=<value> Enter indexer-version
--indexerWorkers=<value> Enter worker threads from 1 to 30
--ipfsCID=<value> Enter IPFS CID
--options=<option> <options: deploy|promote|delete>
--org=<value> Enter organization name
--projectName=<value> Enter project name
--project_name=<value> Enter project name
--queryAggregate Enable Aggregate
--queryMaxConnection=<value> Enter MaxConnection from 1 to 10
--querySubscription Enable Query subscription
--queryTimeout=<value> Enter timeout from 1000ms to 60000ms
--queryUnsafe Enable indexer unsafe
--queryVersion=<value> Enter query-version
--type=<option> [default: primary]
<options: stage|primary>
-d, --useDefaults Use default values for indexerVersion, queryVersion, dictionary, endpoint
--deploymentID=<value> Enter deployment ID
--dict=<value> Enter dictionary
--disableHistorical Disable Historical Data
--disableIndexerStoreCacheAsync If enabled the store cache will flush data asynchronously relative to indexing
data.
--endpoint=<value> (required) Enter endpoint
--indexerBatchSize=<value> Enter batchSize from 1 to 30
--indexerStoreCacheThreshold=<value> The number of items kept in the cache before flushing
--indexerSubscription Enable Indexer subscription
--indexerUnfinalized Index unfinalized blocks (requires Historical to be enabled)
--indexerUnsafe Enable indexer unsafe
--indexerVersion=<value> Enter indexer-version
--indexerWorkers=<value> Enter worker threads from 1 to 5
--ipfsCID=<value> Enter IPFS CID
--options=<option> <options: deploy|promote|delete>
--org=<value> Enter organization name
--projectName=<value> Enter project name
--project_name=<value> Enter project name
--queryAggregate Enable Aggregate
--queryMaxConnection=<value> Enter MaxConnection from 1 to 10
--querySubscription Enable Query subscription
--queryTimeout=<value> Enter timeout from 1000ms to 60000ms
--queryUnsafe Enable indexer unsafe
--queryVersion=<value> Enter query-version
--type=<option> [default: primary]
<options: stage|primary>
DESCRIPTION
Deploy to hosted service
```

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

## `subql deployment:delete`

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

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

## `subql deployment:deploy`

Expand All @@ -182,37 +187,41 @@ Deployment to hosted service
USAGE
$ subql deployment:deploy --endpoint <value> [--org <value>] [--projectName <value>] [--ipfsCID <value>] [--type
stage|primary] [--indexerVersion <value>] [--queryVersion <value>] [--dict <value>] [--indexerUnsafe]
[--indexerBatchSize <value>] [--indexerSubscription] [--disableHistorical] [--indexerWorkers <value>]
[--queryUnsafe] [--querySubscription] [--queryTimeout <value>] [--queryMaxConnection <value>] [--queryAggregate]
[-d]
[--indexerBatchSize <value>] [--indexerSubscription] [--disableHistorical] [--indexerUnfinalized]
[--indexerStoreCacheThreshold <value>] [--disableIndexerStoreCacheAsync] [--indexerWorkers <value>] [--queryUnsafe]
[--querySubscription] [--queryTimeout <value>] [--queryMaxConnection <value>] [--queryAggregate] [-d]
FLAGS
-d, --useDefaults Use default values for indexerVersion, queryVersion, dictionary, endpoint
--dict=<value> Enter dictionary
--disableHistorical Disable Historical Data
--endpoint=<value> (required) Enter endpoint
--indexerBatchSize=<value> Enter batchSize from 1 to 30
--indexerSubscription Enable Indexer subscription
--indexerUnsafe Enable indexer unsafe
--indexerVersion=<value> Enter indexer-version
--indexerWorkers=<value> Enter worker threads from 1 to 30
--ipfsCID=<value> Enter IPFS CID
--org=<value> Enter organization name
--projectName=<value> Enter project name
--queryAggregate Enable Aggregate
--queryMaxConnection=<value> Enter MaxConnection from 1 to 10
--querySubscription Enable Query subscription
--queryTimeout=<value> Enter timeout from 1000ms to 60000ms
--queryUnsafe Enable indexer unsafe
--queryVersion=<value> Enter query-version
--type=<option> [default: primary]
<options: stage|primary>
-d, --useDefaults Use default values for indexerVersion, queryVersion, dictionary, endpoint
--dict=<value> Enter dictionary
--disableHistorical Disable Historical Data
--disableIndexerStoreCacheAsync If enabled the store cache will flush data asynchronously relative to indexing
data.
--endpoint=<value> (required) Enter endpoint
--indexerBatchSize=<value> Enter batchSize from 1 to 30
--indexerStoreCacheThreshold=<value> The number of items kept in the cache before flushing
--indexerSubscription Enable Indexer subscription
--indexerUnfinalized Index unfinalized blocks (requires Historical to be enabled)
--indexerUnsafe Enable indexer unsafe
--indexerVersion=<value> Enter indexer-version
--indexerWorkers=<value> Enter worker threads from 1 to 5
--ipfsCID=<value> Enter IPFS CID
--org=<value> Enter organization name
--projectName=<value> Enter project name
--queryAggregate Enable Aggregate
--queryMaxConnection=<value> Enter MaxConnection from 1 to 10
--querySubscription Enable Query subscription
--queryTimeout=<value> Enter timeout from 1000ms to 60000ms
--queryUnsafe Enable indexer unsafe
--queryVersion=<value> Enter query-version
--type=<option> [default: primary]
<options: stage|primary>
DESCRIPTION
Deployment to hosted service
```

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

## `subql deployment:promote`

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

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

## `subql init [PROJECTNAME]`

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

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

## `subql multi-chain:add`

Expand All @@ -274,7 +283,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.2.6-1/lib/commands/multi-chain/add.js)_
_See code: [lib/commands/multi-chain/add.js](https://github.com/packages/cli/blob/v4.3.1-0/lib/commands/multi-chain/add.js)_

## `subql project`

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

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

## `subql project:create-project`

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

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

## `subql project:delete-project`

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

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

## `subql publish`

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

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

<!-- commandsstop -->
5 changes: 3 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.3.0",
"version": "4.3.1-0",
"author": "Ian He",
"bin": {
"subql": "./bin/run"
Expand Down Expand Up @@ -90,5 +90,6 @@
"types": "lib/index.d.ts",
"resolutions": {
"node-fetch": "2.6.7"
}
},
"stableVersion": "4.3.0"
}

0 comments on commit f62f8d7

Please sign in to comment.