- @switchboard-xyz/switchboardv2-cli@0.1.28
 - @switchboard-xyz/sbv2-utils@0.1.19
 - @switchboard-xyz/switchboard-v2@0.0.107
 - @switchboard-xyz/lease-observer@0.1.7
 - website@0.1.5
This commit is contained in:
Connor O'Hara 2022-06-06 14:23:14 -04:00
parent bc23514f5c
commit c1feb9aa5c
6 changed files with 56 additions and 28 deletions

View File

@ -12,24 +12,52 @@ npm install -g @switchboard-xyz/switchboardv2-cli
``` ```
<!-- commands --> <!-- commands -->
# Command Topics * [`sbv2 help [COMMAND]`](#sbv2-help-command)
* [`sbv2 print:job:templates`](#sbv2-printjobtemplates)
* [`sbv2 update [CHANNEL]`](#sbv2-update-channel)
* [`sbv2 aggregator`](../website/api/cli/aggregator.md) - interact with a switchboard aggregator account ## `sbv2 help [COMMAND]`
* [`sbv2 config`](../website/api/cli/config.md) - print cli config
* [`sbv2 crank`](../website/api/cli/crank.md) - interact with a switchboard crank account
* [`sbv2 help`](../website/api/cli/help.md) - Display help for sbv2.
* [`sbv2 job`](../website/api/cli/job.md) - interact with a switchboard job account
* [`sbv2 json`](../website/api/cli/json.md) - create and manage an oracle queue from a json file
* [`sbv2 lease`](../website/api/cli/lease.md) - interact with a switchboard lease account
* [`sbv2 localnet`](../website/api/cli/localnet.md) - create a localnet switchboard environment
* [`sbv2 oracle`](../website/api/cli/oracle.md) - interact with a switchboard oracle account
* [`sbv2 permission`](../website/api/cli/permission.md) - create a permission account
* [`sbv2 print`](../website/api/cli/print.md) - find and print a switchboard account by public key for a given cluster
* [`sbv2 queue`](../website/api/cli/queue.md) - interact with a switchboard oracle queue account
* [`sbv2 sandbox`](../website/api/cli/sandbox.md) - sandbox
* [`sbv2 test`](../website/api/cli/test.md) - sandbox
* [`sbv2 update`](../website/api/cli/update.md) - update the sbv2 CLI
* [`sbv2 vrf`](../website/api/cli/vrf.md) - create a Switchboard VRF Account
* [`sbv2 watch`](../website/api/cli/watch.md) - watch an aggregator for a new value
Display help for sbv2.
```
USAGE
$ sbv2 help [COMMAND]
ARGUMENTS
COMMAND Command to show help for.
OPTIONS
-n, --nested-commands Include all nested commands in the output.
```
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.1.12/src/commands/help.ts)_
## `sbv2 print:job:templates`
list available templates to build a job from
```
USAGE
$ sbv2 print:job:templates
ALIASES
$ sbv2 job:print:templates
```
_See code: [src/commands/print/job/templates.ts](https://github.com/switchboard-xyz/switchboard-v2/blob/v0.1.28/src/commands/print/job/templates.ts)_
## `sbv2 update [CHANNEL]`
update the sbv2 CLI
```
USAGE
$ sbv2 update [CHANNEL]
OPTIONS
--from-local interactively choose an already installed version
```
_See code: [@oclif/plugin-update](https://github.com/oclif/plugin-update/blob/v1.5.0/src/commands/update.ts)_
<!-- commandsstop --> <!-- commandsstop -->

View File

@ -1,7 +1,7 @@
{ {
"name": "@switchboard-xyz/switchboardv2-cli", "name": "@switchboard-xyz/switchboardv2-cli",
"description": "command line tool to interact with switchboard v2", "description": "command line tool to interact with switchboard v2",
"version": "0.1.27", "version": "0.1.28",
"license": "MIT", "license": "MIT",
"repository": { "repository": {
"type": "git", "type": "git",
@ -98,8 +98,8 @@
"@project-serum/anchor": "^0.24.2", "@project-serum/anchor": "^0.24.2",
"@solana/spl-token": "^0.1.8", "@solana/spl-token": "^0.1.8",
"@solana/web3.js": "^1.42.0", "@solana/web3.js": "^1.42.0",
"@switchboard-xyz/sbv2-utils": "^0.1.17", "@switchboard-xyz/sbv2-utils": "^0.1.19",
"@switchboard-xyz/switchboard-v2": "^0.0.106", "@switchboard-xyz/switchboard-v2": "^0.0.107",
"assert": "^2.0.0", "assert": "^2.0.0",
"big.js": "^6.1.1", "big.js": "^6.1.1",
"bs58": "^5.0.0", "bs58": "^5.0.0",

View File

@ -1,6 +1,6 @@
{ {
"name": "@switchboard-xyz/sbv2-utils", "name": "@switchboard-xyz/sbv2-utils",
"version": "0.1.18", "version": "0.1.19",
"description": "some basic utility functions when working with switchboard-v2", "description": "some basic utility functions when working with switchboard-v2",
"author": "", "author": "",
"license": "ISC", "license": "ISC",
@ -36,7 +36,7 @@
"@saberhq/token-utils": "^1.12.68", "@saberhq/token-utils": "^1.12.68",
"@solana/spl-token": "^0.1.8", "@solana/spl-token": "^0.1.8",
"@solana/web3.js": "^1.42.0", "@solana/web3.js": "^1.42.0",
"@switchboard-xyz/switchboard-v2": "^0.0.106", "@switchboard-xyz/switchboard-v2": "^0.0.107",
"big.js": "^6.1.1", "big.js": "^6.1.1",
"chalk": "4", "chalk": "4",
"decimal.js": "^10.3.1", "decimal.js": "^10.3.1",

View File

@ -1,6 +1,6 @@
{ {
"name": "@switchboard-xyz/switchboard-v2", "name": "@switchboard-xyz/switchboard-v2",
"version": "0.0.106", "version": "0.0.107",
"license": "MIT", "license": "MIT",
"author": "mitch@switchboard.xyz", "author": "mitch@switchboard.xyz",
"description": "API wrapper for intergating with the Switchboardv2 program", "description": "API wrapper for intergating with the Switchboardv2 program",

View File

@ -1,6 +1,6 @@
{ {
"name": "@switchboard-xyz/lease-observer", "name": "@switchboard-xyz/lease-observer",
"version": "0.1.6", "version": "0.1.7",
"description": "receive pager duty alerts when a switchboard v2 lease crosses a provided threshold", "description": "receive pager duty alerts when a switchboard v2 lease crosses a provided threshold",
"private": true, "private": true,
"repository": { "repository": {
@ -16,8 +16,8 @@
"dependencies": { "dependencies": {
"@project-serum/anchor": "^0.24.2", "@project-serum/anchor": "^0.24.2",
"@solana/web3.js": "1.33.0", "@solana/web3.js": "1.33.0",
"@switchboard-xyz/sbv2-utils": "^0.1.17", "@switchboard-xyz/sbv2-utils": "^0.1.19",
"@switchboard-xyz/switchboard-v2": "^0.0.106", "@switchboard-xyz/switchboard-v2": "^0.0.107",
"dotenv": "^16.0.0", "dotenv": "^16.0.0",
"node-pagerduty": "^1.3.6" "node-pagerduty": "^1.3.6"
}, },

View File

@ -1,6 +1,6 @@
{ {
"name": "website", "name": "website",
"version": "0.1.4", "version": "0.1.5",
"private": true, "private": true,
"license": "MIT", "license": "MIT",
"repository": { "repository": {