diff --git a/apps/tldr/credits b/apps/tldr/credits new file mode 100644 index 0000000..85a4cab --- /dev/null +++ b/apps/tldr/credits @@ -0,0 +1 @@ +Ported to pi-apps by Raspberry Pi News on youtube, made by the community at https://github.com/tldr-pages/tldr diff --git a/apps/tldr/description b/apps/tldr/description new file mode 100644 index 0000000..a4ab902 --- /dev/null +++ b/apps/tldr/description @@ -0,0 +1,7 @@ +The tldr project is a collection of community-maintained help pages for command-line tools, that aims to be a simpler, more approachable complement to traditional man pages. + +Run it by typing "tldr " into terminal. + +Maybe you are new to the command-line world? Or just a little rusty? Or perhaps you can't always remember the arguments to lsof, or tar? + +It also is more digestable than man pages which blasts pages of useless stuff at you every time you use it. diff --git a/apps/tldr/icon-24.png b/apps/tldr/icon-24.png new file mode 100644 index 0000000..0a04995 Binary files /dev/null and b/apps/tldr/icon-24.png differ diff --git a/apps/tldr/icon-64.png b/apps/tldr/icon-64.png new file mode 100644 index 0000000..f9f0a6b Binary files /dev/null and b/apps/tldr/icon-64.png differ diff --git a/apps/tldr/install-32 b/apps/tldr/install-32 new file mode 100755 index 0000000..ea04c72 --- /dev/null +++ b/apps/tldr/install-32 @@ -0,0 +1,15 @@ +#!/bin/bash + +DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")" + +function error { + echo -e "\\e[91m$1\\e[39m" + exit 1 +} + +cd ~/Downloads + +wget https://cdn.discordapp.com/attachments/741857430195142668/774969741981777930/tldr +sudo mv tldr /usr/bin/ +sudo chmod +x /usr/bin/tldr +tldr --update diff --git a/apps/tldr/uninstall b/apps/tldr/uninstall new file mode 100755 index 0000000..5caa125 --- /dev/null +++ b/apps/tldr/uninstall @@ -0,0 +1,11 @@ +#!/bin/bash + +DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")" + +function error { + echo -e "\\e[91m$1\\e[39m" + exit 1 +} + +tldr --clear-cache +sudo rm /usr/bin/tldr diff --git a/apps/tldr/website b/apps/tldr/website new file mode 100644 index 0000000..bc2df13 --- /dev/null +++ b/apps/tldr/website @@ -0,0 +1 @@ +https://github.com/dbrgn/tealdeer