snippetbashTip
md-to-clip — Convert tldr-pages to Command Line Interface Pages. See also: `clip-view`. More information: <https:
Viewed 0 times
tldrcommandconvertpagesclilinemd-to-clip
Problem
How to use the
md-to-clip command: Convert tldr-pages to Command Line Interface Pages. See also: clip-view. More information: <https://github.com/command-line-interface-pages/v2-tooling/tree/main/md-to-clip>.Solution
md-to-clip — Convert tldr-pages to Command Line Interface Pages. See also: clip-view. More information: <https://github.com/command-line-interface-pages/v2-tooling/tree/main/md-to-clip>.Convert tldr-pages files and save into the same directories:
md-to-clip {{path/to/page1.md path/to/page2.md ...}}Convert tldr-pages files and save into a specific directory:
md-to-clip --output-directory {{path/to/directory}} {{path/to/page1.md path/to/page2.md ...}}Convert a tldr-page file to
stdout:md-to-clip --no-file-save <(echo '{{page-content}}')Convert tldr-pages files while recognizing additional placeholders from a specific config:
md-to-clip --special-placeholder-config {{path/to/config.yaml}} {{path/to/page1.md path/to/page2.md ...}}Display help:
md-to-clip --helpDisplay version:
md-to-clip --versionCode Snippets
Convert tldr-pages files and save into the same directories
md-to-clip {{path/to/page1.md path/to/page2.md ...}}Convert tldr-pages files and save into a specific directory
md-to-clip --output-directory {{path/to/directory}} {{path/to/page1.md path/to/page2.md ...}}Convert a tldr-page file to `stdout`
md-to-clip --no-file-save <(echo '{{page-content}}')Convert tldr-pages files while recognizing additional placeholders from a specific config
md-to-clip --special-placeholder-config {{path/to/config.yaml}} {{path/to/page1.md path/to/page2.md ...}}Display help
md-to-clip --helpContext
tldr-pages: common/md-to-clip
Revisions (0)
No revisions yet.