Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Command Line Interface Page project support #226

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions clip-view
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# To render specific local pages:
clip-view <path/to/page1.clip path/to/page2.clip ...>

# To render specific remote pages:
clip-view <page_name1 page_name2 ...>

# To render pages by a specific render:
clip-view --render <tldr|tldr-colorful|docopt|docopt-colorful> <page_name1 page_name2 ...>

# To render pages with a specific color theme:
clip-view --theme <path/to/local_theme.yaml|remote_theme_name> <page_name1 page_name2 ...>

# To clear a page or theme cache:
clip-view --clear-<page|theme>-cache

# To display help:
clip-view --help

# To display version:
clip-view --version
11 changes: 11 additions & 0 deletions md-to-clip
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To convert tldr-pages files and save into the same directories:
md-to-clip <path/to/page1.md path/to/page2.md ...>

# To 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 ...>

# To display help:
md-to-clip --help

# To display version:
md-to-clip --version