Skip to content

Commit 45de3ef

Browse files
committed
cli(metrics): add -w as alias for --watch (#2530)
Synced from monorepo@5fc9b955fd4b5be4791adbed218471abdbba456e
1 parent d6f9602 commit 45de3ef

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

.sync-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0c57c5290de53ca7c84a912999dab169c35d57d1
1+
5fc9b955fd4b5be4791adbed218471abdbba456e

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "xata-cli",
33
"description": "Xata CLI",
4-
"version": "1.2.3",
4+
"version": "1.2.4",
55
"private": true,
66
"module": "src/app.ts",
77
"type": "module",
@@ -38,14 +38,14 @@
3838
"zod-config": "1.4.0",
3939
"@xata.io/ai": "0.1.0",
4040
"@xata.io/api": "0.1.0",
41-
"@xata.io/lang": "0.0.1",
4241
"@xata.io/config": "0.0.0",
42+
"@xata.io/lang": "0.0.1",
4343
"@xata.io/pgroll": "0.9.0",
4444
"@xata.io/pgstream": "0.2.0",
4545
"@xata.io/sql": "0.1.3",
4646
"@xata.io/test-utils": "0.0.0",
47-
"@xata.io/tsconfig": "0.0.1",
48-
"@xata.io/utils": "0.1.0"
47+
"@xata.io/utils": "0.1.0",
48+
"@xata.io/tsconfig": "0.0.1"
4949
},
5050
"scripts": {
5151
"dev": "bun src/bin/cli.ts",

src/commands/branch/metrics.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,8 @@ export const BranchMetricsCommand = buildCommand({
466466
]
467467
},
468468
aliases: {
469-
o: 'output'
469+
o: 'output',
470+
w: 'watch'
470471
}
471472
},
472473
func: implementation

0 commit comments

Comments
 (0)