Command placeholder-extract
Extracts placeholders from a recipe (often for documentation).
Options
--alveolus,--recipe,-a,-r- Recipe/Alveolus name to lookup. When set to
auto, it will look through all available manifests found in the from location. If you set manifest option, alveolus is set toautoand there is a single alveolus in it, this will default to it. --asciidoc- Asciidoc filename (relative to
dumpLocation) whenoutputTypeisFILE. Ignores this extraction if value isskip. --completion- Completion properties filename - see
https://github.com/rmannibucau/vscode-properties-custom-completion - (relative
to
dumpLocation) whenoutputTypeisFILE. Ignores this extraction if value isskip. --descriptions- Properties (WARN: it is read line by line and not as java properties) file locations which contain key=the placeholder and value=the placeholder description.
--descriptor,-d- Enable to filer a single descriptor.
--dump,-o- Extraction location (directory) when
outputTypeisFILE. --fail-on-invalid,-e- Should documentation generation fail on missing/unexpected placeholder description.
--from,-f- Root dependency to download to get the manifest. If set to
autoit is assumed to be present in current classpath. --ignored-placeholders,-x- List of placeholders or prefixes (ended with
.*) to ignore. This is common for templates placeholders which don't need documentation since they are wired in the manifest in general. --json- JSON filename (relative to
dumpLocation) whenoutputTypeisFILE. Ignores JSON dump if value isskip. --manifest,-m- Manifest to load to start to lookup (a file path or
inline). This optional setting mainly enables to use dependencies easily.
Ignored if set to
skip. --markdown- Markdown filename (relative to
dumpLocation) whenoutputTypeisFILE. Ignores this extraction if value isskip. Note it uses definition lists so it requires.UseDefinitionLists()fordocfx/Markdig. --output-type,-t- How to dump the placeholders, by default (
LOG) it will print it butFILEwill store it in a local file (usingdumpLocation). --properties-
Properties filename (relative to
dumpLocation) whenoutputTypeisFILE. Ignores properties extraction if value isskip.