diff options
| author | dacctal <dacctal@symlinx.net> | 2026-05-24 10:23:38 +0000 |
|---|---|---|
| committer | dacctal <dacctal@symlinx.net> | 2026-05-24 10:23:38 +0000 |
| commit | aa0d78815004ae6b0c4a42b0e024f5c4ef555ae2 (patch) | |
| tree | 62f97b4c5acfdb98003568466f878fbd3d6b9dfb /src/help.cc | |
| parent | 83d471f2c1d1b1fa6be51f41e4f1c36ab19d7094 (diff) | |
c rewrite
Diffstat (limited to 'src/help.cc')
| -rw-r--r-- | src/help.cc | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src/help.cc b/src/help.cc deleted file mode 100644 index e6a590f..0000000 --- a/src/help.cc +++ /dev/null @@ -1,37 +0,0 @@ -#include <iostream> - -#include "vars.hh" -#include "help.hh" - -void help() { - std::cout << ""+bold_magenta+" , \n"; - std::cout << " "+bold_magenta+"/ \\ \n"; - std::cout << " "+bold_magenta+"/ \\ \n"; - std::cout << " "+bold_magenta+"__-' '-__ \n"; - std::cout << " "+bold_magenta+"''--__ __--'' "+bold_yellow+"\n"; - std::cout << " "+bold_yellow+"_--"+bold_magenta+"\\ /"+bold_yellow+"--_ \n"; - std::cout << " "+bold_yellow+"_--' "+bold_magenta+"\\ /"+bold_yellow+" '--_ \n"; - std::cout << " "+bold_yellow+"'-__ "+bold_magenta+"'"+bold_yellow+" __-'\n"; - std::cout << " "+bold_yellow+"'-__ __-' \n"; - std::cout << " "+bold_yellow+"'-_-' "+color_reset+"\n"; - std::cout << "\n"; - std::cout << " pkgit\n"; - std::cout << " "+italic+""+gray+"- package it! -"+color_reset+"\n"; - std::cout << " "+magenta+"v"+version+""+color_reset+"\n"; - std::cout << "\n"; - std::cout << ""+red+"subcommands"+color_reset+":\n"; - std::cout << ""+color_reset+"├─ "+green+"a"+color_reset+", "+yellow+"add "+blue+"[url, file] "+gray+"# add a repo/repopkg\n"; - std::cout << ""+color_reset+"├─ "+green+"b"+color_reset+", "+yellow+"build "+blue+"[path] "+gray+"# build a package\n"; - std::cout << ""+color_reset+"├┬ "+green+"i"+color_reset+", "+yellow+"install "+blue+"[pkgs, urls] "+gray+"# install a package/repo\n"; - //std::cout << ""+color_reset+"│├── "+green+"-t:"+color_reset+", "+yellow+"--tag:"+blue+"[tag] "+gray+"# specify a version\n"; - //std::cout << ""+color_reset+"│└── "+green+"-l:"+color_reset+", "+yellow+"--list:"+blue+"[filename] "+gray+"# install from a package list\n"; - std::cout << ""+color_reset+"├─ "+green+"r"+color_reset+", "+yellow+"remove "+blue+"[pkgs] "+gray+"# remove an installed package\n"; - //std::cout << ""+color_reset+"├─ "+green+"f"+color_reset+", "+yellow+"files "+blue+"[pkgs] "+gray+"# list all files of a package\n"; - //std::cout << ""+color_reset+"├─ "+green+"s"+color_reset+", "+yellow+"search "+blue+"[pkgs] "+gray+"# search for packages\n"; - std::cout << ""+color_reset+"├─ "+green+"l"+color_reset+", "+yellow+"list "+gray+"# list installed packages\n"; - std::cout << ""+color_reset+"└─ "+green+"u"+color_reset+", "+yellow+"update "+gray+"# update all installed packages\n"; - std::cout << "\n"; - std::cout << ""+red+"flags"+color_reset+":\n"; - std::cout << ""+color_reset+"├─ "+green+"-h"+color_reset+", "+yellow+"--help "+gray+"# display this help message\n"; - std::cout << ""+color_reset+"└─ "+green+"-v"+color_reset+", "+yellow+"--version "+gray+"# display version number\n"; -} |
