-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cli): unhide generator upgrade command (#4403)
- Loading branch information
1 parent
fde4d4b
commit eec537a
Showing
6 changed files
with
179 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
...es/cli/ete-tests/src/tests/upgrade-generator/__snapshots__/upgrade-generator.test.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html | ||
|
||
exports[`fern generator upgrade > fern generator help commands 1`] = ` | ||
"fern-dev generator | ||
Operate on the generators within your Fern configuration | ||
Commands: | ||
fern-dev generator upgrade Upgrades the specified generator in generators.yml | ||
to the latest stable version. | ||
Options: | ||
--help Show help [boolean] | ||
--log-level [choices: "debug", "info", "warn", "error"] [default: "info"]" | ||
`; | ||
|
||
exports[`fern generator upgrade > fern generator help commands 2`] = ` | ||
"fern-dev generator upgrade | ||
Upgrades the specified generator in generators.yml to the latest stable version. | ||
Options: | ||
--help Show help [boolean] | ||
--log-level [choices: "debug", "info", "warn", "error"] [default: "info"] | ||
--generator The type of generator to upgrade, ex: | ||
\`fern-typescript-node-sdk\`. [string] | ||
--group The group in which the generator is located, if group is not | ||
specified, the all generators of the specified type will be | ||
upgraded. [string] | ||
--api The API to upgrade the generator for. If not specified, the | ||
generator will be upgraded for all APIs. [string] | ||
--include-major Whether or not to include major versions within the upgrade. | ||
Defaults to false, meaning major versions will be skipped. | ||
[boolean] [default: false]" | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.