Skip to content

Commit ed1f404

Browse files
authored
feat(cli): implement fern sdk add command (#12715)
1 parent 4fc97a0 commit ed1f404

15 files changed

Lines changed: 1040 additions & 38 deletions

File tree

packages/cli/cli-v2/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
"inquirer": "^9.2.15",
8383
"is-ci": "catalog:",
8484
"js-yaml": "catalog:",
85+
"yaml": "catalog:",
8586
"jsonwebtoken": "catalog:",
8687
"ora": "catalog:",
8788
"posthog-node": "^5.14.0",

packages/cli/cli-v2/src/commands/init/command.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import chalk from "chalk";
44
import { mkdir, writeFile } from "fs/promises";
55
import path from "path";
66
import type { Argv } from "yargs";
7+
import { FERN_YML_FILENAME } from "../../config/fern-yml/constants";
78
import { FernYmlBuilder } from "../../config/fern-yml/FernYmlBuilder";
89
import type { Context } from "../../context/Context";
910
import type { GlobalArgs } from "../../context/GlobalArgs";
@@ -21,7 +22,6 @@ export declare namespace InitCommand {
2122
}
2223
}
2324

24-
const FERN_YML_FILENAME = "fern.yml";
2525
const SPECS_DIR = "openapi";
2626

2727
export class InitCommand {

0 commit comments

Comments
 (0)