Debian Codegraph @

cli/tools-cli/test/versioning/fixtures/case-4/expected-spec/old-spec/index.ts

raw symbols SCIP
1 import { createVersionedSpec } from "@fig/autocomplete-helpers";
2 const versionFiles = ["1.0.0", "2.0.0"];
3 export const getVersionCommand: Fig.GetVersionCommand = async (executeCommand) => {
4 const { stdout } = await executeCommand({
5 command: "fig",
6 args: ["--version"],
7 });
8 return stdout.slice(stdout.indexOf(" ") + 1);
9 };
10 export default createVersionedSpec("fig", versionFiles);