diff --git a/tldr/animdl b/tldr/animdl new file mode 100644 index 00000000..4f8d6b4c --- /dev/null +++ b/tldr/animdl @@ -0,0 +1,42 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# animdl + +> A highly efficient, powerful and fast anime scraper. +> See also: `ani-cli`. +> More information: . + +- Download a specific anime: + +`animdl download {{anime_title}}` + +- Download a specific anime by specifying an episode range: + +`animdl download {{anime_title}} {{-r|--range}} {{start_episode}}-{{end_episode}}` + +- Download a specific anime by specifying a download directory: + +`animdl download {{anime_title}} {{-d|--download-dir}} {{path/to/download_directory}}` + +- Grab the stream URL for a specific anime: + +`animdl grab {{anime_title}}` + +- Display the upcoming anime schedule for the next week: + +`animdl schedule` + +- Search a specific anime: + +`animdl search {{anime_title}}` + +- Stream a specific anime: + +`animdl stream {{anime_title}}` + +- Stream the latest episode of a specific anime: + +`animdl stream {{anime_title}} {{-s|--special}} latest` diff --git a/tldr/linux/wtype b/tldr/linux/wtype new file mode 100644 index 00000000..736dfbe7 --- /dev/null +++ b/tldr/linux/wtype @@ -0,0 +1,34 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# wtype + +> Simulate keyboard input on Wayland, similar to `xdotool type` for X11. +> See also: `ydotool`. +> More information: . + +- Simulate typing text: + +`wtype "{{Hello World}}"` + +- Type a specific key: + +`wtype -k {{Left}}` + +- Press a modifier: + +`wtype -M {{shift|ctrl|...}}` + +- Release a modifier: + +`wtype -m {{ctrl}}` + +- Wait between keystrokes (in milliseconds): + +`wtype -d {{500}} -- "{{text}}"` + +- Read text from `stdin`: + +`echo "{{text}}" | wtype -` diff --git a/tldr/npm-fund b/tldr/npm-fund index 1a5cc5df..a897f9bf 100644 --- a/tldr/npm-fund +++ b/tldr/npm-fund @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # npm fund > Retrieve funding information from packages. -> More information: . +> More information: . - List dependencies with funding URL for the project in the current directory: diff --git a/tldr/npm-outdated b/tldr/npm-outdated new file mode 100644 index 00000000..cfa45ab7 --- /dev/null +++ b/tldr/npm-outdated @@ -0,0 +1,17 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# npm-outdated + +> Check for outdated npm package dependencies. +> More information: . + +- Find packages that are outdated in a project: + +`npm outdated` + +- Find packages that are outdated regardless of the current project: + +`npm outdated --all` diff --git a/tldr/npm-query b/tldr/npm-query index cbb834d1..8b013dc9 100644 --- a/tldr/npm-query +++ b/tldr/npm-query @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # npm query > Print an array of dependency objects using CSS-like selectors. -> More information: . +> More information: . - Print direct dependencies: @@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git - Print dependencies with a specific name and within a semantic versioning range: -`npm query #{{package}}@{{semantic_version}}` +`npm query '#{{package}}@{{semantic_version}}'` - Print dependencies which have no dependencies: diff --git a/tldr/npm-run b/tldr/npm-run index a23d085c..382aef40 100644 --- a/tldr/npm-run +++ b/tldr/npm-run @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # npm run > Run a script. -> More information: . +> More information: . - Run a script: diff --git a/tldr/set b/tldr/set index b92221d0..cecf8740 100644 --- a/tldr/set +++ b/tldr/set @@ -28,6 +28,10 @@ source: https://github.com/tldr-pages/tldr.git `set -o {{emacs}}` +- List all modes: + +`set -o` + - Exit the shell when (some) commands fail: `set -e`