@farming-labs/docs 0.1.1-beta.4 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-reference-wh4_pwG8.mjs +802 -0
- package/dist/cli/index.d.mts +12 -0
- package/dist/cli/index.mjs +3748 -0
- package/dist/index.d.mts +100 -0
- package/dist/index.mjs +227 -0
- package/dist/mcp.d.mts +86 -0
- package/dist/mcp.mjs +485 -0
- package/dist/server.d.mts +39 -0
- package/dist/server.mjs +4 -0
- package/dist/types-Bd3kyFF1.d.mts +1484 -0
- package/package.json +10 -3
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region src/cli/index.d.ts
|
|
2
|
+
declare const UPGRADE_TAGS: readonly ["latest", "beta"];
|
|
3
|
+
type UpgradeTag = (typeof UPGRADE_TAGS)[number];
|
|
4
|
+
/** Normalize command aliases like `upgrade@beta` into the base command + dist-tag. */
|
|
5
|
+
declare function parseCommandAlias(rawCommand?: string): {
|
|
6
|
+
command?: string;
|
|
7
|
+
tag?: UpgradeTag;
|
|
8
|
+
};
|
|
9
|
+
/** Parse flags like --template next, --name my-docs, --theme concrete, --entry docs, --framework astro (exported for tests). */
|
|
10
|
+
declare function parseFlags(argv: string[]): Record<string, string | boolean | undefined>;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { parseCommandAlias, parseFlags };
|