Skip to content

Commit

Permalink
feat: show suggestion when command not found (#1441)
Browse files Browse the repository at this point in the history
* feat: show suggestion when command not found

* chore(dependencies): updated changesets for modified dependencies

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
saihaj and github-actions[bot] authored Sep 1, 2023
1 parent 4492e4f commit 2e656e9
Show file tree
Hide file tree
Showing 4 changed files with 208 additions and 687 deletions.
5 changes: 5 additions & 0 deletions .changeset/@graphprotocol_graph-cli-1441-dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@graphprotocol/graph-cli": patch
---
dependencies updates:
- Added dependency [`@oclif/plugin-not-found@^2.4.0` ↗︎](https://www.npmjs.com/package/@oclif/plugin-not-found/v/2.4.0) (to `dependencies`)
5 changes: 5 additions & 0 deletions .changeset/stale-socks-reply.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphprotocol/graph-cli': minor
---

show suggestions when an invalid command is entered
4 changes: 4 additions & 0 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"dependencies": {
"@float-capital/float-subgraph-uncrashable": "^0.0.0-alpha.4",
"@oclif/core": "2.8.6",
"@oclif/plugin-not-found": "^2.4.0",
"@whatwg-node/fetch": "^0.8.4",
"assemblyscript": "0.19.23",
"binary-install-raw": "0.0.13",
Expand Down Expand Up @@ -81,6 +82,9 @@
],
"additionalVersionFlags": [
"-v"
],
"plugins": [
"@oclif/plugin-not-found"
]
}
}
Loading

0 comments on commit 2e656e9

Please sign in to comment.