Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
add support for auto-generating completions for a cli program
Browse files Browse the repository at this point in the history
  • Loading branch information
IMax153 committed Nov 10, 2023
1 parent bc25cca commit aa1e8d8
Show file tree
Hide file tree
Showing 35 changed files with 3,683 additions and 326 deletions.
5 changes: 5 additions & 0 deletions .changeset/wet-flies-march.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@effect/cli": patch
---

add support for auto-generating completions for a cli program
4 changes: 2 additions & 2 deletions .vscode/snippets.code-snippets
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Gen Function $": {
"Gen Function _": {
"prefix": "gg",
"body": [
"Effect.gen(function*(_) {",
Expand All @@ -8,7 +8,7 @@
],
"description": "Generator Function with a _ parameter"
},
"Gen Yield $": {
"Gen Yield _": {
"prefix": "yy",
"body": [
"yield* _($0)"
Expand Down
19 changes: 11 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,28 +45,31 @@
"coverage": "vitest run --coverage"
},
"peerDependencies": {
"@effect/platform": "^0.27.3",
"@effect/printer": "^0.22.1",
"@effect/printer-ansi": "^0.22.1",
"@effect/schema": "^0.47.2",
"effect": "2.0.0-next.54"
},
"devDependencies": {
"@babel/cli": "^7.23.0",
"@babel/core": "^7.23.0",
"@babel/core": "^7.23.3",
"@babel/plugin-transform-export-namespace-from": "^7.22.11",
"@babel/plugin-transform-modules-commonjs": "^7.23.0",
"@babel/plugin-transform-modules-commonjs": "^7.23.3",
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.2",
"@effect/build-utils": "^0.3.1",
"@effect/docgen": "^0.3.0",
"@effect/build-utils": "^0.4.0",
"@effect/docgen": "^0.3.1",
"@effect/eslint-plugin": "^0.1.2",
"@effect/language-service": "^0.0.21",
"@effect/platform": "^0.28.0",
"@effect/platform-node": "^0.29.0",
"@effect/printer": "^0.22.1",
"@effect/printer-ansi": "^0.22.1",
"@effect/schema": "^0.47.2",
"@effect/schema": "^0.47.3",
"@preconstruct/cli": "^2.8.1",
"@types/chai": "^4.3.9",
"@types/node": "^20.8.10",
"@types/chai": "^4.3.10",
"@types/node": "^20.9.0",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"@vitejs/plugin-react": "^4.1.1",
Expand All @@ -85,7 +88,7 @@
"madge": "^6.1.0",
"prettier": "^3.0.3",
"stackframe": "^1.3.4",
"tsx": "^3.14.0",
"tsx": "^4.1.0",
"typescript": "^5.2.2",
"vite": "^4.5.0",
"vitest": "^0.34.6"
Expand Down
Loading

0 comments on commit aa1e8d8

Please sign in to comment.