allure 3.0.0-beta.16 → 3.0.0-beta.17

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.
Files changed (46) hide show
  1. package/dist/commands/allure2.d.ts +15 -13
  2. package/dist/commands/allure2.js +67 -79
  3. package/dist/commands/awesome.d.ts +18 -15
  4. package/dist/commands/awesome.js +79 -99
  5. package/dist/commands/classic.d.ts +15 -13
  6. package/dist/commands/classic.js +67 -79
  7. package/dist/commands/csv.d.ts +13 -11
  8. package/dist/commands/csv.js +59 -65
  9. package/dist/commands/dashboard.d.ts +15 -13
  10. package/dist/commands/dashboard.js +67 -78
  11. package/dist/commands/generate.d.ts +11 -9
  12. package/dist/commands/generate.js +44 -36
  13. package/dist/commands/history.d.ts +9 -7
  14. package/dist/commands/history.js +31 -28
  15. package/dist/commands/knownIssue.d.ts +8 -6
  16. package/dist/commands/knownIssue.js +30 -23
  17. package/dist/commands/log.d.ts +12 -9
  18. package/dist/commands/log.js +54 -58
  19. package/dist/commands/login.d.ts +8 -7
  20. package/dist/commands/login.js +39 -36
  21. package/dist/commands/logout.d.ts +8 -7
  22. package/dist/commands/logout.js +39 -36
  23. package/dist/commands/open.d.ts +11 -9
  24. package/dist/commands/open.js +34 -40
  25. package/dist/commands/projects/create.d.ts +9 -7
  26. package/dist/commands/projects/create.js +70 -66
  27. package/dist/commands/projects/delete.d.ts +10 -7
  28. package/dist/commands/projects/delete.js +55 -61
  29. package/dist/commands/projects/list.d.ts +8 -7
  30. package/dist/commands/projects/list.js +62 -62
  31. package/dist/commands/qualityGate.d.ts +9 -7
  32. package/dist/commands/qualityGate.js +46 -42
  33. package/dist/commands/run.d.ts +13 -10
  34. package/dist/commands/run.js +102 -111
  35. package/dist/commands/slack.d.ts +9 -7
  36. package/dist/commands/slack.js +51 -48
  37. package/dist/commands/testplan.d.ts +8 -6
  38. package/dist/commands/testplan.js +36 -29
  39. package/dist/commands/watch.d.ts +12 -10
  40. package/dist/commands/watch.js +103 -99
  41. package/dist/commands/whoami.d.ts +8 -7
  42. package/dist/commands/whoami.js +44 -38
  43. package/dist/index.js +31 -35
  44. package/package.json +19 -19
  45. package/dist/utils/commands.d.ts +0 -16
  46. package/dist/utils/commands.js +0 -16
@@ -1,13 +1,15 @@
1
- type ClassicCommandOptions = {
2
- cwd?: string;
3
- config?: string;
4
- output?: string;
5
- reportName?: string;
6
- reportLanguage?: string;
7
- singleFile?: boolean;
8
- historyPath?: string;
9
- knownIssues?: string;
10
- };
11
- export declare const ClassicLegacyCommandAction: (resultsDir: string, options: ClassicCommandOptions) => Promise<void>;
12
- export declare const ClassicLegacyCommand: (cli: import("cac").CAC) => void;
13
- export {};
1
+ import { Command } from "clipanion";
2
+ export declare class Allure2Command extends Command {
3
+ static paths: string[][];
4
+ static usage: import("clipanion").Usage;
5
+ resultsDir: string;
6
+ config: string | undefined;
7
+ cwd: string | undefined;
8
+ output: string | undefined;
9
+ reportName: string | undefined;
10
+ reportLanguage: string | undefined;
11
+ singleFile: boolean | undefined;
12
+ historyPath: string | undefined;
13
+ knownIssues: string | undefined;
14
+ execute(): Promise<void>;
15
+ }
@@ -1,89 +1,77 @@
1
- import { AllureReport, enforcePlugin, readConfig } from "@allurereport/core";
1
+ import { AllureReport, readConfig } from "@allurereport/core";
2
2
  import Allure2Plugin from "@allurereport/plugin-allure2";
3
+ import { Command, Option } from "clipanion";
3
4
  import * as console from "node:console";
4
5
  import { realpath } from "node:fs/promises";
5
6
  import process from "node:process";
6
- import { createCommand } from "../utils/commands.js";
7
- export const ClassicLegacyCommandAction = async (resultsDir, options) => {
8
- const cwd = await realpath(options.cwd ?? process.cwd());
9
- const before = new Date().getTime();
10
- const { config: configPath, output, reportName, historyPath, knownIssues: knownIssuesPath, ...rest } = options;
11
- const defaultAllure2Options = {
12
- ...rest,
13
- };
14
- const config = enforcePlugin(await readConfig(cwd, configPath, {
15
- output,
16
- name: reportName,
17
- knownIssuesPath,
18
- historyPath,
19
- }), {
20
- id: "allure2",
21
- enabled: true,
22
- options: defaultAllure2Options,
23
- plugin: new Allure2Plugin(defaultAllure2Options),
24
- });
25
- const allureReport = new AllureReport(config);
26
- await allureReport.start();
27
- await allureReport.readDirectory(resultsDir);
28
- await allureReport.done();
29
- const after = new Date().getTime();
30
- console.log(`the report successfully generated (${after - before}ms)`);
31
- };
32
- export const ClassicLegacyCommand = createCommand({
33
- name: "allure2 <resultsDir>",
34
- description: "Generates Allure Classic report based on provided Allure Results",
35
- options: [
36
- [
37
- "--config, -c <file>",
38
- {
39
- description: "The path Allure config file",
40
- },
41
- ],
42
- [
43
- "--cwd <cwd>",
44
- {
45
- description: "The working directory for the command to run (Default: current working directory)",
46
- },
47
- ],
48
- [
49
- "--output, -o <file>",
50
- {
51
- description: "The output directory name. Absolute paths are accepted as well",
52
- default: "allure-report",
53
- },
54
- ],
55
- [
56
- "--report-name, --name <string>",
57
- {
58
- description: "The report name",
59
- default: "Allure Report",
60
- },
61
- ],
62
- [
63
- "--report-language, --lang <string>",
64
- {
65
- description: "Default language of the report (default: OS language)",
66
- },
67
- ],
68
- [
69
- "--single-file",
7
+ export class Allure2Command extends Command {
8
+ constructor() {
9
+ super(...arguments);
10
+ this.resultsDir = Option.String({ required: true, name: "The directory with Allure results" });
11
+ this.config = Option.String("--config,-c", {
12
+ description: "The path Allure config file",
13
+ });
14
+ this.cwd = Option.String("--cwd", {
15
+ description: "The working directory for the command to run (default: current working directory)",
16
+ });
17
+ this.output = Option.String("--output,-o", {
18
+ description: "The output directory name. Absolute paths are accepted as well",
19
+ });
20
+ this.reportName = Option.String("--report-name,--name", {
21
+ description: "The report name",
22
+ });
23
+ this.reportLanguage = Option.String("--report-language,--lang", {
24
+ description: "Default language of the report (default: OS language)",
25
+ });
26
+ this.singleFile = Option.Boolean("--single-file", {
27
+ description: "Generate single file report",
28
+ });
29
+ this.historyPath = Option.String("--history-path,-h", {
30
+ description: "The path to history file",
31
+ });
32
+ this.knownIssues = Option.String("--known-issues", {
33
+ description: "Path to the known issues file. Updates the file and quarantines failed tests when specified",
34
+ });
35
+ }
36
+ async execute() {
37
+ const cwd = await realpath(this.cwd ?? process.cwd());
38
+ const before = new Date().getTime();
39
+ const defaultAllure2Options = {
40
+ singleFile: this.singleFile ?? false,
41
+ reportLanguage: this.reportLanguage,
42
+ };
43
+ const config = await readConfig(cwd, this.config, {
44
+ output: this.output ?? "allure-report",
45
+ name: this.reportName ?? "Allure Report",
46
+ knownIssuesPath: this.knownIssues,
47
+ historyPath: this.historyPath,
48
+ });
49
+ config.plugins = [
70
50
  {
71
- description: "Generate single file report",
72
- default: false,
51
+ id: "allure2",
52
+ enabled: true,
53
+ options: defaultAllure2Options,
54
+ plugin: new Allure2Plugin(defaultAllure2Options),
73
55
  },
74
- ],
75
- [
76
- "--history-path, -h <file>",
77
- {
78
- description: "The path to history file",
79
- },
80
- ],
56
+ ];
57
+ const allureReport = new AllureReport(config);
58
+ await allureReport.start();
59
+ await allureReport.readDirectory(this.resultsDir);
60
+ await allureReport.done();
61
+ const after = new Date().getTime();
62
+ console.log(`the report successfully generated (${after - before}ms)`);
63
+ }
64
+ }
65
+ Allure2Command.paths = [["allure2"]];
66
+ Allure2Command.usage = Command.Usage({
67
+ category: "Reports",
68
+ description: "Generates Allure Classic report based on provided Allure Results",
69
+ details: "This command generates an Allure Classic report from the provided Allure Results directory.",
70
+ examples: [
71
+ ["allure2 ./allure-results", "Generate a report from the ./allure-results directory"],
81
72
  [
82
- "--known-issues <file>",
83
- {
84
- description: "Path to the known issues file. Updates the file and quarantines failed tests when specified",
85
- },
73
+ "allure2 ./allure-results --output custom-report",
74
+ "Generate a report from the ./allure-results directory to the custom-report directory",
86
75
  ],
87
76
  ],
88
- action: ClassicLegacyCommandAction,
89
77
  });
@@ -1,15 +1,18 @@
1
- type AwesomeCommandOptions = {
2
- cwd?: string;
3
- config?: string;
4
- output?: string;
5
- reportName?: string;
6
- reportLanguage?: string;
7
- logo?: string;
8
- singleFile?: boolean;
9
- historyPath?: string;
10
- knownIssues?: string;
11
- groupBy?: string;
12
- };
13
- export declare const AwesomeCommandAction: (resultsDir: string, options: AwesomeCommandOptions) => Promise<void>;
14
- export declare const AwesomeCommand: (cli: import("cac").CAC) => void;
15
- export {};
1
+ import { Command } from "clipanion";
2
+ export declare class AwesomeCommand extends Command {
3
+ static paths: string[][];
4
+ static usage: import("clipanion").Usage;
5
+ resultsDir: string;
6
+ config: string | undefined;
7
+ cwd: string | undefined;
8
+ output: string | undefined;
9
+ reportName: string | undefined;
10
+ singleFile: boolean | undefined;
11
+ logo: string | undefined;
12
+ theme: string | undefined;
13
+ reportLanguage: string | undefined;
14
+ historyPath: string | undefined;
15
+ knownIssues: string | undefined;
16
+ groupBy: string | undefined;
17
+ execute(): Promise<void>;
18
+ }
@@ -1,109 +1,89 @@
1
- import { AllureReport, enforcePlugin, readConfig } from "@allurereport/core";
1
+ import { AllureReport, readConfig } from "@allurereport/core";
2
2
  import { default as AwesomePlugin } from "@allurereport/plugin-awesome";
3
+ import { Command, Option } from "clipanion";
3
4
  import * as console from "node:console";
4
5
  import { realpath } from "node:fs/promises";
5
6
  import process from "node:process";
6
- import { createCommand } from "../utils/commands.js";
7
- export const AwesomeCommandAction = async (resultsDir, options) => {
8
- const cwd = await realpath(options.cwd ?? process.cwd());
9
- const before = new Date().getTime();
10
- const { config: configPath, output, reportName, historyPath, knownIssues: knownIssuesPath, groupBy, ...rest } = options;
11
- const defaultAwesomeOptions = {
12
- ...rest,
13
- groupBy: groupBy?.split(","),
14
- };
15
- const config = enforcePlugin(await readConfig(cwd, configPath, {
16
- output,
17
- name: reportName,
18
- knownIssuesPath,
19
- historyPath,
20
- }), {
21
- id: "awesome",
22
- enabled: true,
23
- options: defaultAwesomeOptions,
24
- plugin: new AwesomePlugin(defaultAwesomeOptions),
25
- });
26
- const allureReport = new AllureReport(config);
27
- await allureReport.start();
28
- await allureReport.readDirectory(resultsDir);
29
- await allureReport.done();
30
- const after = new Date().getTime();
31
- console.log(`the report successfully generated (${after - before}ms)`);
32
- };
33
- export const AwesomeCommand = createCommand({
34
- name: "awesome <resultsDir>",
35
- description: "Generates Allure Awesome report based on provided Allure Results",
36
- options: [
37
- [
38
- "--config, -c <file>",
39
- {
40
- description: "The path Allure config file",
41
- },
42
- ],
43
- [
44
- "--cwd <cwd>",
45
- {
46
- description: "The working directory for the command to run (Default: current working directory)",
47
- },
48
- ],
49
- [
50
- "--output, -o <file>",
51
- {
52
- description: "The output directory name. Absolute paths are accepted as well",
53
- default: "allure-report",
54
- },
55
- ],
56
- [
57
- "--report-name, --name <string>",
58
- {
59
- description: "The report name",
60
- default: "Allure Report",
61
- },
62
- ],
63
- [
64
- "--single-file",
65
- {
66
- description: "Generate single file report",
67
- default: false,
68
- },
69
- ],
70
- [
71
- "--logo <string>",
72
- {
73
- description: "Path to the report logo which will be displayed in the header",
74
- },
75
- ],
76
- [
77
- "--theme <string>",
7
+ export class AwesomeCommand extends Command {
8
+ constructor() {
9
+ super(...arguments);
10
+ this.resultsDir = Option.String({ required: true, name: "The directory with Allure results" });
11
+ this.config = Option.String("--config,-c", {
12
+ description: "The path Allure config file",
13
+ });
14
+ this.cwd = Option.String("--cwd", {
15
+ description: "The working directory for the command to run (default: current working directory)",
16
+ });
17
+ this.output = Option.String("--output,-o", {
18
+ description: "The output directory name. Absolute paths are accepted as well",
19
+ });
20
+ this.reportName = Option.String("--report-name,--name", {
21
+ description: "The report name",
22
+ });
23
+ this.singleFile = Option.Boolean("--single-file", {
24
+ description: "Generate single file report",
25
+ });
26
+ this.logo = Option.String("--logo", {
27
+ description: "Path to the report logo which will be displayed in the header",
28
+ });
29
+ this.theme = Option.String("--theme", {
30
+ description: "Default theme of the report (default: OS theme)",
31
+ });
32
+ this.reportLanguage = Option.String("--report-language,--lang", {
33
+ description: "Default language of the report (default: OS language)",
34
+ });
35
+ this.historyPath = Option.String("--history-path,-h", {
36
+ description: "The path to history file",
37
+ });
38
+ this.knownIssues = Option.String("--known-issues", {
39
+ description: "Path to the known issues file. Updates the file and quarantines failed tests when specified",
40
+ });
41
+ this.groupBy = Option.String("--group-by,-g", {
42
+ description: "Group test results by labels. The labels should be separated by commas",
43
+ });
44
+ }
45
+ async execute() {
46
+ const cwd = await realpath(this.cwd ?? process.cwd());
47
+ const before = new Date().getTime();
48
+ const defaultAwesomeOptions = {
49
+ singleFile: this.singleFile ?? false,
50
+ logo: this.logo,
51
+ theme: this.theme,
52
+ reportLanguage: this.reportLanguage,
53
+ groupBy: this.groupBy?.split?.(",") ?? ["parentSuite", "suite", "subSuite"],
54
+ };
55
+ const config = await readConfig(cwd, this.config, {
56
+ output: this.output ?? "allure-report",
57
+ name: this.reportName ?? "Allure Report",
58
+ knownIssuesPath: this.knownIssues,
59
+ historyPath: this.historyPath,
60
+ });
61
+ config.plugins = [
78
62
  {
79
- description: "Default theme of the report (default: OS theme)",
63
+ id: "awesome",
64
+ enabled: true,
65
+ options: defaultAwesomeOptions,
66
+ plugin: new AwesomePlugin(defaultAwesomeOptions),
80
67
  },
81
- ],
82
- [
83
- "--report-language, --lang <string>",
84
- {
85
- description: "Default language of the report (default: OS language)",
86
- },
87
- ],
88
- [
89
- "--history-path, -h <file>",
90
- {
91
- description: "The path to history file",
92
- },
93
- ],
94
- [
95
- "--known-issues <file>",
96
- {
97
- description: "Path to the known issues file. Updates the file and quarantines failed tests when specified",
98
- },
99
- ],
68
+ ];
69
+ const allureReport = new AllureReport(config);
70
+ await allureReport.start();
71
+ await allureReport.readDirectory(this.resultsDir);
72
+ await allureReport.done();
73
+ const after = new Date().getTime();
74
+ console.log(`the report successfully generated (${after - before}ms)`);
75
+ }
76
+ }
77
+ AwesomeCommand.paths = [["awesome"]];
78
+ AwesomeCommand.usage = Command.Usage({
79
+ category: "Reports",
80
+ description: "Generates Allure Awesome report based on provided Allure Results",
81
+ details: "This command generates an Allure Awesome report from the provided Allure Results directory.",
82
+ examples: [
83
+ ["awesome ./allure-results", "Generate a report from the ./allure-results directory"],
100
84
  [
101
- "--group-by, -g <string>",
102
- {
103
- description: "Group test results by labels. The labels should be separated by commas",
104
- default: "parentSuite,suite,subSuite",
105
- },
85
+ "awesome ./allure-results --output custom-report",
86
+ "Generate a report from the ./allure-results directory to the custom-report directory",
106
87
  ],
107
88
  ],
108
- action: AwesomeCommandAction,
109
89
  });
@@ -1,13 +1,15 @@
1
- type ClassicCommandOptions = {
2
- cwd?: string;
3
- config?: string;
4
- output?: string;
5
- reportName?: string;
6
- reportLanguage?: string;
7
- singleFile?: boolean;
8
- historyPath?: string;
9
- knownIssues?: string;
10
- };
11
- export declare const ClassicCommandAction: (resultsDir: string, options: ClassicCommandOptions) => Promise<void>;
12
- export declare const ClassicCommand: (cli: import("cac").CAC) => void;
13
- export {};
1
+ import { Command } from "clipanion";
2
+ export declare class ClassicCommand extends Command {
3
+ static paths: string[][];
4
+ static usage: import("clipanion").Usage;
5
+ resultsDir: string;
6
+ config: string | undefined;
7
+ cwd: string | undefined;
8
+ output: string | undefined;
9
+ reportName: string | undefined;
10
+ reportLanguage: string | undefined;
11
+ singleFile: boolean | undefined;
12
+ historyPath: string | undefined;
13
+ knownIssues: string | undefined;
14
+ execute(): Promise<void>;
15
+ }
@@ -1,89 +1,77 @@
1
- import { AllureReport, enforcePlugin, readConfig } from "@allurereport/core";
1
+ import { AllureReport, readConfig } from "@allurereport/core";
2
2
  import ClassicPlugin from "@allurereport/plugin-classic";
3
+ import { Command, Option } from "clipanion";
3
4
  import * as console from "node:console";
4
5
  import { realpath } from "node:fs/promises";
5
6
  import process from "node:process";
6
- import { createCommand } from "../utils/commands.js";
7
- export const ClassicCommandAction = async (resultsDir, options) => {
8
- const cwd = await realpath(options.cwd ?? process.cwd());
9
- const before = new Date().getTime();
10
- const { config: configPath, output, reportName: name, historyPath, knownIssues: knownIssuesPath, ...rest } = options;
11
- const defaultClassicOptions = {
12
- ...rest,
13
- };
14
- const config = enforcePlugin(await readConfig(cwd, configPath, {
15
- output,
16
- name,
17
- historyPath,
18
- knownIssuesPath,
19
- }), {
20
- id: "classic",
21
- enabled: true,
22
- options: defaultClassicOptions,
23
- plugin: new ClassicPlugin(defaultClassicOptions),
24
- });
25
- const allureReport = new AllureReport(config);
26
- await allureReport.start();
27
- await allureReport.readDirectory(resultsDir);
28
- await allureReport.done();
29
- const after = new Date().getTime();
30
- console.log(`the report successfully generated (${after - before}ms)`);
31
- };
32
- export const ClassicCommand = createCommand({
33
- name: "classic <resultsDir>",
34
- description: "Generates Allure Classic report based on provided Allure Results",
35
- options: [
36
- [
37
- "--config, -c <file>",
38
- {
39
- description: "The path Allure config file",
40
- },
41
- ],
42
- [
43
- "--cwd <cwd>",
44
- {
45
- description: "The working directory for the command to run (Default: current working directory)",
46
- },
47
- ],
48
- [
49
- "--output, -o <file>",
50
- {
51
- description: "The output directory name. Absolute paths are accepted as well",
52
- default: "allure-report",
53
- },
54
- ],
55
- [
56
- "--report-name, --name <string>",
57
- {
58
- description: "The report name",
59
- default: "Allure Report",
60
- },
61
- ],
62
- [
63
- "--report-language, --lang <string>",
64
- {
65
- description: "Default language of the report (default: OS language)",
66
- },
67
- ],
68
- [
69
- "--single-file",
7
+ export class ClassicCommand extends Command {
8
+ constructor() {
9
+ super(...arguments);
10
+ this.resultsDir = Option.String({ required: true, name: "The directory with Allure results" });
11
+ this.config = Option.String("--config,-c", {
12
+ description: "The path Allure config file",
13
+ });
14
+ this.cwd = Option.String("--cwd", {
15
+ description: "The working directory for the command to run (default: current working directory)",
16
+ });
17
+ this.output = Option.String("--output,-o", {
18
+ description: "The output directory name. Absolute paths are accepted as well",
19
+ });
20
+ this.reportName = Option.String("--report-name,--name", {
21
+ description: "The report name",
22
+ });
23
+ this.reportLanguage = Option.String("--report-language,--lang", {
24
+ description: "Default language of the report (default: OS language)",
25
+ });
26
+ this.singleFile = Option.Boolean("--single-file", {
27
+ description: "Generate single file report",
28
+ });
29
+ this.historyPath = Option.String("--history-path,-h", {
30
+ description: "The path to history file",
31
+ });
32
+ this.knownIssues = Option.String("--known-issues", {
33
+ description: "Path to the known issues file. Updates the file and quarantines failed tests when specified",
34
+ });
35
+ }
36
+ async execute() {
37
+ const cwd = await realpath(this.cwd ?? process.cwd());
38
+ const before = new Date().getTime();
39
+ const defaultClassicOptions = {
40
+ singleFile: this.singleFile ?? false,
41
+ reportLanguage: this.reportLanguage,
42
+ };
43
+ const config = await readConfig(cwd, this.config, {
44
+ output: this.output ?? "allure-report",
45
+ name: this.reportName ?? "Allure Report",
46
+ knownIssuesPath: this.knownIssues,
47
+ historyPath: this.historyPath,
48
+ });
49
+ config.plugins = [
70
50
  {
71
- description: "Generate single file report",
72
- default: false,
51
+ id: "classic",
52
+ enabled: true,
53
+ options: defaultClassicOptions,
54
+ plugin: new ClassicPlugin(defaultClassicOptions),
73
55
  },
74
- ],
75
- [
76
- "--history-path, -h <file>",
77
- {
78
- description: "The path to history file",
79
- },
80
- ],
56
+ ];
57
+ const allureReport = new AllureReport(config);
58
+ await allureReport.start();
59
+ await allureReport.readDirectory(this.resultsDir);
60
+ await allureReport.done();
61
+ const after = new Date().getTime();
62
+ console.log(`the report successfully generated (${after - before}ms)`);
63
+ }
64
+ }
65
+ ClassicCommand.paths = [["classic"]];
66
+ ClassicCommand.usage = Command.Usage({
67
+ category: "Reports",
68
+ description: "Generates Allure Classic report based on provided Allure Results",
69
+ details: "This command generates an Allure Classic report from the provided Allure Results directory.",
70
+ examples: [
71
+ ["classic ./allure-results", "Generate a report from the ./allure-results directory"],
81
72
  [
82
- "--known-issues <file>",
83
- {
84
- description: "Path to the known issues file. Updates the file and quarantines failed tests when specified",
85
- },
73
+ "classic ./allure-results --output custom-report",
74
+ "Generate a report from the ./allure-results directory to the custom-report directory",
86
75
  ],
87
76
  ],
88
- action: ClassicCommandAction,
89
77
  });
@@ -1,11 +1,13 @@
1
- type CsvCommandOptions = {
2
- cwd?: string;
3
- config?: string;
4
- separator?: string;
5
- disableHeaders?: boolean;
6
- output?: string;
7
- knownIssues?: string;
8
- };
9
- export declare const CsvCommandAction: (resultsDir: string, options: CsvCommandOptions) => Promise<void>;
10
- export declare const CsvCommand: (cli: import("cac").CAC) => void;
11
- export {};
1
+ import { Command } from "clipanion";
2
+ export declare class CsvCommand extends Command {
3
+ static paths: string[][];
4
+ static usage: import("clipanion").Usage;
5
+ resultsDir: string;
6
+ config: string | undefined;
7
+ cwd: string | undefined;
8
+ output: string | undefined;
9
+ disableHeaders: boolean | undefined;
10
+ separator: string | undefined;
11
+ knownIssues: string | undefined;
12
+ execute(): Promise<void>;
13
+ }