#!/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"';
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)";
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)";