Skip to content

Commit aa57ff0

Browse files
committed
feat: use a table to print the available options in the cli [skip test]
1 parent 74d03fc commit aa57ff0

File tree

7 files changed

+21
-35
lines changed

7 files changed

+21
-35
lines changed

dist/node12/actions_python.e8fa8bb0.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/node12/setup-cpp.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/node12/setup-cpp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/node16/actions_python.79f8ffa3.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/node16/setup-cpp.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/node16/setup-cpp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/cli-options.ts

Lines changed: 15 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -24,37 +24,23 @@ Install all the tools required for building and testing C++/C projects.
2424
--compiler\t the <compiler> to install.
2525
\t You can specify the version instead of specifying just the name e.g: --compiler 'llvm-13.0.0'
2626
27-
--tool_name\t pass "true" or pass the <version> you would like to install for this tool. e.g. --conan true or --conan "1.42.1"
27+
--$tool_name\t pass "true" or pass the <version> you would like to install for this tool. e.g. --conan true or --conan "1.42.1"
2828
2929
All the available tools:
30-
--llvm
31-
--gcc
32-
--vcvarsall
33-
--cmake
34-
--ninja
35-
--vcpkg
36-
--bazel
37-
--meson
38-
--conan
39-
--make
40-
--task
41-
--ccache
42-
--sccache
43-
--cppcheck
44-
--clangformat
45-
--clangtidy
46-
--doxygen
47-
--gcovr
48-
--opencppcoverage
49-
--kcov
50-
--python
51-
--choco
52-
--brew
53-
--nala
54-
--sevenzip
55-
--graphviz
56-
--powershell
57-
`)
30+
`)
31+
32+
console.table(
33+
{
34+
"compiler and analyzer": { tools: `--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat` },
35+
"build system": { tools: `--cmake, --ninja, --meson, --make, --task, --bazel` },
36+
"package manager": { tools: `--vcpkg, --conan, --choco, --brew, --nala` },
37+
cache: { tools: `--cppcache, --sccache` },
38+
documentation: { tools: `--doxygen, --graphviz` },
39+
coverage: { tools: `--gcovr, --opencppcoverage, --kcov` },
40+
other: { tools: `--python, --powershell, --sevenzip` },
41+
},
42+
["tools"]
43+
)
5844
}
5945
/** Get an object from github actions */
6046

0 commit comments

Comments
 (0)