mirror of https://github.com/aminya/setup-cpp
feat: use a table to print the available options in the cli [skip test]
This commit is contained in:
parent
74d03fc954
commit
aa57ff04be
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -24,37 +24,23 @@ Install all the tools required for building and testing C++/C projects.
|
||||||
--compiler\t the <compiler> to install.
|
--compiler\t the <compiler> to install.
|
||||||
\t You can specify the version instead of specifying just the name e.g: --compiler 'llvm-13.0.0'
|
\t You can specify the version instead of specifying just the name e.g: --compiler 'llvm-13.0.0'
|
||||||
|
|
||||||
--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"
|
--$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"
|
||||||
|
|
||||||
All the available tools:
|
All the available tools:
|
||||||
--llvm
|
`)
|
||||||
--gcc
|
|
||||||
--vcvarsall
|
console.table(
|
||||||
--cmake
|
{
|
||||||
--ninja
|
"compiler and analyzer": { tools: `--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat` },
|
||||||
--vcpkg
|
"build system": { tools: `--cmake, --ninja, --meson, --make, --task, --bazel` },
|
||||||
--bazel
|
"package manager": { tools: `--vcpkg, --conan, --choco, --brew, --nala` },
|
||||||
--meson
|
cache: { tools: `--cppcache, --sccache` },
|
||||||
--conan
|
documentation: { tools: `--doxygen, --graphviz` },
|
||||||
--make
|
coverage: { tools: `--gcovr, --opencppcoverage, --kcov` },
|
||||||
--task
|
other: { tools: `--python, --powershell, --sevenzip` },
|
||||||
--ccache
|
},
|
||||||
--sccache
|
["tools"]
|
||||||
--cppcheck
|
)
|
||||||
--clangformat
|
|
||||||
--clangtidy
|
|
||||||
--doxygen
|
|
||||||
--gcovr
|
|
||||||
--opencppcoverage
|
|
||||||
--kcov
|
|
||||||
--python
|
|
||||||
--choco
|
|
||||||
--brew
|
|
||||||
--nala
|
|
||||||
--sevenzip
|
|
||||||
--graphviz
|
|
||||||
--powershell
|
|
||||||
`)
|
|
||||||
}
|
}
|
||||||
/** Get an object from github actions */
|
/** Get an object from github actions */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue