Skip to content

Commit

Permalink
upgrade latest oclif (#81)
Browse files Browse the repository at this point in the history
* upgrade latest oclif

* update cli docs

---------

Co-authored-by: Aaron <[email protected]>
  • Loading branch information
aaronmgdr and aaronmgdr authored Jan 17, 2024
1 parent c99365c commit 16bb901
Show file tree
Hide file tree
Showing 7 changed files with 1,424 additions and 86 deletions.
18 changes: 9 additions & 9 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@
"@celo/wallet-local": "^5.1.1",
"@ethereumjs/util": "8.0.5",
"@ledgerhq/hw-transport-node-hid": "^6.27.4",
"@oclif/core": "^3.15.0",
"@oclif/plugin-autocomplete": "^3.0.4",
"@oclif/plugin-commands": "^3.1.0",
"@oclif/plugin-help": "^6.0.9",
"@oclif/plugin-not-found": "^3.0.7",
"@oclif/plugin-plugins": "^4.1.14",
"@oclif/plugin-warn-if-update-available": "^3.0.8",
"@types/command-exists": "^1.2.0",
"@oclif/core": "^3.18.1",
"@oclif/plugin-autocomplete": "^3.0.5",
"@oclif/plugin-commands": "^3.1.1",
"@oclif/plugin-help": "^6.0.12",
"@oclif/plugin-not-found": "^3.0.9",
"@oclif/plugin-plugins": "^4.1.17",
"@oclif/plugin-warn-if-update-available": "^3.0.9",
"@types/command-exists": "^1.2.3",
"bignumber.js": "9.0.0",
"bip32": "3.1.0",
"chalk": "^2.4.2",
Expand All @@ -77,7 +77,7 @@
"@types/prompts": "^1.1.1",
"@types/web3": "^1.0.18",
"jest": "^29.0.2",
"oclif": "^4.1.3",
"oclif": "^4.3.4",
"prettier": "1.19.1",
"ts-jest": "^29.0.0",
"ts-node": "^10.9.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/commands/validator/status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export default class ValidatorStatus extends BaseCommand {
const bar = ux.progress({
format: 'counting block signatures [{bar}] {percentage}% | ETA: {eta}s | {value}/{total}',
})
bar.start(end - start)
bar.start(end, start)
const countsBySigner = new Map()
const incrementSignatureCounts = async (blockNumber: number) => {
if ((blockNumber - start) % 10 === 0 || blockNumber === end) {
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/command-line-interface/autocomplete.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ EXAMPLES
$ celocli autocomplete --refresh-cache
```

_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.0.4/lib/commands/autocomplete/index.ts)_
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.0.5/src/commands/autocomplete/index.ts)_
2 changes: 1 addition & 1 deletion packages/docs/command-line-interface/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ DESCRIPTION
list all the commands
```

_See code: [@oclif/plugin-commands](https://github.com/oclif/plugin-commands/blob/v3.1.0/lib/commands/commands.ts)_
_See code: [@oclif/plugin-commands](https://github.com/oclif/plugin-commands/blob/v3.1.1/src/commands/commands.ts)_
2 changes: 1 addition & 1 deletion packages/docs/command-line-interface/help.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ DESCRIPTION
Display help for celocli.
```

_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.0.9/lib/commands/help.ts)_
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.0.12/src/commands/help.ts)_
14 changes: 7 additions & 7 deletions packages/docs/command-line-interface/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ EXAMPLES
$ celocli plugins
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.1.14/lib/commands/plugins/index.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.1.17/src/commands/plugins/index.ts)_

## `celocli plugins:install PLUGIN...`

Expand Down Expand Up @@ -105,7 +105,7 @@ EXAMPLES
$ celocli plugins:inspect myplugin
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.1.14/lib/commands/plugins/inspect.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.1.17/src/commands/plugins/inspect.ts)_

## `celocli plugins:install PLUGIN...`

Expand Down Expand Up @@ -150,7 +150,7 @@ EXAMPLES
$ celocli plugins:install someuser/someplugin
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.1.14/lib/commands/plugins/install.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.1.17/src/commands/plugins/install.ts)_

## `celocli plugins:link PLUGIN`

Expand Down Expand Up @@ -181,7 +181,7 @@ EXAMPLES
$ celocli plugins:link myplugin
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.1.14/lib/commands/plugins/link.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.1.17/src/commands/plugins/link.ts)_

## `celocli plugins:uninstall PLUGIN...`

Expand Down Expand Up @@ -218,7 +218,7 @@ USAGE
$ celocli plugins:reset
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.1.14/lib/commands/plugins/reset.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.1.17/src/commands/plugins/reset.ts)_

## `celocli plugins:uninstall PLUGIN...`

Expand Down Expand Up @@ -246,7 +246,7 @@ EXAMPLES
$ celocli plugins:uninstall myplugin
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.1.14/lib/commands/plugins/uninstall.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.1.17/src/commands/plugins/uninstall.ts)_

## `celocli plugins:uninstall PLUGIN...`

Expand Down Expand Up @@ -290,4 +290,4 @@ DESCRIPTION
Update installed plugins.
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.1.14/lib/commands/plugins/update.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.1.17/src/commands/plugins/update.ts)_
Loading

0 comments on commit 16bb901

Please sign in to comment.