Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
quarto-dev
GitHub Repository: quarto-dev/quarto-cli
Path: blob/main/src/command/command.ts
3557 views
1
/*
2
* command.ts
3
*
4
* Copyright (C) 2020-2022 Posit Software, PBC
5
*/
6
7
import type { Command } from "cliffy/command/mod.ts";
8
9
import { renderCommand } from "./render/cmd.ts";
10
import { serveCommand } from "./serve/cmd.ts";
11
import { createProjectCommand } from "./create-project/cmd.ts";
12
import { toolsCommand } from "./tools/cmd.ts";
13
import { previewCommand } from "./preview/cmd.ts";
14
import { convertCommand } from "./convert/cmd.ts";
15
import { runCommand } from "./run/run.ts";
16
import { pandocCommand } from "./pandoc/cmd.ts";
17
import { typstCommand } from "./typst/cmd.ts";
18
import { capabilitiesCommand } from "./capabilities/cmd.ts";
19
import { checkCommand } from "./check/cmd.ts";
20
import { inspectCommand } from "./inspect/cmd.ts";
21
import { installCommand } from "./install/cmd.ts";
22
import { updateCommand } from "./update/cmd.ts";
23
import { publishCommand } from "./publish/cmd.ts";
24
import { removeCommand } from "./remove/cmd.ts";
25
import { listCommand } from "./list/cmd.ts";
26
import { makeUseCommand } from "./use/cmd.ts";
27
import { addCommand } from "./add/cmd.ts";
28
import { uninstallCommand } from "./uninstall/cmd.ts";
29
import { createCommand } from "./create/cmd.ts";
30
import { editorSupportCommand } from "./editor-support/cmd.ts";
31
import { callCommand } from "./call/cmd.ts";
32
import { devCallCommand } from "./dev-call/cmd.ts";
33
34
// deno-lint-ignore no-explicit-any
35
export function commands(): Command<any>[] {
36
return [
37
// deno-lint-ignore no-explicit-any
38
renderCommand as any,
39
previewCommand,
40
serveCommand,
41
createCommand,
42
makeUseCommand(),
43
addCommand,
44
updateCommand,
45
removeCommand,
46
createProjectCommand,
47
convertCommand,
48
pandocCommand,
49
typstCommand,
50
runCommand,
51
listCommand,
52
installCommand,
53
uninstallCommand,
54
toolsCommand,
55
publishCommand,
56
capabilitiesCommand,
57
inspectCommand,
58
checkCommand,
59
editorSupportCommand,
60
callCommand,
61
devCallCommand,
62
];
63
}
64
65