You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/migrate/src/cli.ts
+39-22Lines changed: 39 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ import { findTypeSpecFiles } from "./utils.js";
18
18
19
19
interfaceOptions{
20
20
path: string;
21
-
tspVersion: string;
21
+
tspVersion?: string;
22
22
}
23
23
24
24
asyncfunctionmain(){
@@ -34,35 +34,27 @@ async function main() {
34
34
.option("tspVersion",{
35
35
alias: "t",
36
36
describe:
37
-
"Specifies the TypeSpec compiler version used by the input. Defaults to the version of the compiler package in package.json.",
37
+
"Specifies the TypeSpec compiler version used by the input(Version you want to upgrade from). Defaults to the version of the compiler package in package.json.",
"Couldn't resolve TypeSpec compiler version to upgrade from. Use `--tspVersion` flag to specify it. (e.g. `--tspVersion=0.42.0` to upgrade from version 0.42.0)"
0 commit comments