Added help command

This commit is contained in:
Dimitris Zlatanidis 2023-02-26 22:58:45 +02:00
parent b1a3e9555c
commit 19e3f48581

View file

@ -58,3 +58,4 @@ class Help(Configs):
print(f"{self.bold}COMMAND{self.endc}: {self.cyan}{self.command}{self.endc}")
print(f"{self.bold}OPTIONS:{self.endc} {self.yellow}{', '.join(self.flags)}{self.endc}\n")
print(f'{self.bold}{self.green}Help: {self.endc}{help_commands[self.command]}\n')
print('If you need more information try to use slpkg manpage.')