]> gitweb.morketsmerke.org Git - idle.git/commitdiff
Zmiana w komunikatach pomocy - skrypt idle-cli (idle-clis i idle-clic)
authorxf0r3m <jakubstasinski@protonmail.com>
Wed, 9 Aug 2023 15:25:14 +0000 (17:25 +0200)
committerxf0r3m <jakubstasinski@protonmail.com>
Wed, 9 Aug 2023 15:25:14 +0000 (17:25 +0200)
idle-clic
idle-clis

index 01588f61bb03163c4dbb284ba331814b0c419a5f..ee33969a3172abcea7262da1e3560743c227347b 100644 (file)
--- a/idle-clic
+++ b/idle-clic
@@ -1,21 +1,26 @@
 #!/bin/bash
   
 function help() {
-  echo 'idle-clic - IDLE CLI Client';
+  echo 'idle-cli - Inter-Distribution Linux Environment CLI';
   echo '@ 2023 morketsmerke.org';
   echo;
-  echo 'IDLE commands:';
-  echo '  list-distros - listing available distributions on this server';
-  echo '  shell <distro> - running up the shell in given container';
-  echo '  check-command - checking there is a given command in any container';
-  echo '  apropos <keyword> - return list of commands with short description';
-  echo '   match to given keyword';
-  echo '  pkgsearch <keywords> - searching there is package installed or ready';
-  echo '   to install match to given keywords';
+  echo "Options:";
+  echo "  list-distros - listing available containers with Linux distros on this server";
+  echo "  shell <distro_name> - bring up the shell of given distro";
+  echo "  check-commmand <distro_name> <command> - verify is given command exists in given distro";
+  echo "  apropos <distro_name> <keywords> - finds commmands match to given keywords";
+  echo "  pkgsearch <distro_name> <package> - check is given package is ready to install in given distro";
+  echo;
+  echo "<distro_name> - pointing only one distro, but you can use also:"
+  echo "  <group>:";
+  echo "    --deb - .deb packages using distros (debian,kali,ubuntu)";
+  echo "    --rpm - .rpm packages using distros (fedora,rocky,opensuse)";
+  echo "    --other - other distros don't match to above (alpine,archlinux,gentoo,void)";
+  echo "  or <--all> - all 10 available distros (warning, output could be large, use some of pager)";
   echo;
   echo 'Usage:';
   echo '  $ idle-clic list-distros';
-  echo '  $ idle-clic shell rocky9';
+  echo '  $ idle-clic shell rocky';
   echo '  $ idle-clic check-command netstat';
   echo '  $ idle-clic apropos zip';
   echo '  $ idle-clic pkgsearch "intel sound"';
@@ -37,3 +42,16 @@ else
   help;
   exit 1;
 fi
+  echo "Options:";
+  echo "  list-distros - listing available containers with Linux distros on this server";
+  echo "  shell <distro_name> - bring up the shell of given distro";
+  echo "  check-commmand <distro_name> <command> - verify is given command exists in given distro";
+  echo "  apropos <distro_name> <keywords> - finds commmands match to given keywords";
+  echo "  pkgsearch <distro_name> <package> - check is given package is ready to install in given distro";
+  echo;
+  echo "<distro_name> - pointing only one distro, but use also:"
+  echo "  <group>:";
+  echo "    --deb - .deb packages using distros (debian,kali,ubuntu)";
+  echo "    --rpm - .rpm packages using distros (fedora,rocky,opensuse)";
+  echo "    --other - other distros don't match to above (alpine,archlinux,gentoo,void)";
+  echo "  or <--all> - all 10 available distros (warning, output could be large, use some of pager)";
index 4b475146a05357d0e06769c4fe347358aac9b5f8..2ae5c4dc09f4b85df80a35377a1c9e0106758e46 100755 (executable)
--- a/idle-clis
+++ b/idle-clis
@@ -71,7 +71,7 @@ function help() {
   echo "  apropos <distro_name> <keywords> - finds commmands match to given keywords";
   echo "  pkgsearch <distro_name> <package> - check is given package is ready to install in given distro";
   echo;
-  echo "<distro_name> - pointing only one distro, but use also:"
+  echo "<distro_name> - pointing only one distro, but you can use also:"
   echo "  <group>:";
   echo "    --deb - .deb packages using distros (debian,kali,ubuntu)";
   echo "    --rpm - .rpm packages using distros (fedora,rocky,opensuse)";