mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-18 10:26:29 +01:00
Updated the cli menu
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
5a2ac83b2a
commit
b91963ed9f
4 changed files with 55 additions and 46 deletions
|
@ -1,6 +1,8 @@
|
|||
4.3.0 - 23/11/2022
|
||||
Added:
|
||||
- Message for blacklisted packages
|
||||
Updated:
|
||||
- The cli menu
|
||||
|
||||
4.2.9 - 19/11/2022
|
||||
Bugfixed:
|
||||
|
|
38
README.rst
38
README.rst
|
@ -48,28 +48,28 @@ Usage
|
|||
Packaging tool that interacts with the SBo repository.
|
||||
|
||||
COMMANDS:
|
||||
update Update the package lists.
|
||||
upgrade Upgrade all the packages.
|
||||
check-updates Check for news on ChangeLog.txt.
|
||||
build <packages> Build only the packages.
|
||||
install <packages> Build and install the packages.
|
||||
download <packages> Download only the scripts and sources.
|
||||
remove <packages> Remove installed packages.
|
||||
find <packages> Find installed packages.
|
||||
view <packages> View packages from the repository.
|
||||
search <packages> Search packages from the repository.
|
||||
clean-logs Clean dependencies log tracking.
|
||||
clean-tmp Deletes all the downloaded sources.
|
||||
update Update the package lists.
|
||||
upgrade Upgrade all the packages.
|
||||
check-updates Check for news on ChangeLog.txt.
|
||||
clean-logs Clean dependencies log tracking.
|
||||
clean-tmp Deletes all the downloaded sources.
|
||||
-b, build <packages> Build only the packages.
|
||||
-i, install <packages> Build and install the packages.
|
||||
-d, download <packages> Download only the scripts and sources.
|
||||
-r, remove <packages> Remove installed packages.
|
||||
-f, find <packages> Find installed packages.
|
||||
-w, view <packages> View packages from the repository.
|
||||
-s, search <packages> Search packages from the repository.
|
||||
|
||||
OPTIONS:
|
||||
--yes Answer Yes to all questions.
|
||||
--jobs Set it for multicore systems.
|
||||
--resolve-off Turns off dependency resolving.
|
||||
--reinstall Upgrade packages of the same version.
|
||||
--skip-installed Skip installed packages.
|
||||
--yes Answer Yes to all questions.
|
||||
--jobs Set it for multicore systems.
|
||||
--resolve-off Turns off dependency resolving.
|
||||
--reinstall Upgrade packages of the same version.
|
||||
--skip-installed Skip installed packages.
|
||||
|
||||
-h, --help Show this message and exit.
|
||||
-v, --version Print version and exit.
|
||||
-h, --help Show this message and exit.
|
||||
-v, --version Print version and exit.
|
||||
|
||||
If you need more information try to use slpkg manpage.
|
||||
|
||||
|
|
|
@ -222,15 +222,22 @@ def main():
|
|||
'update': argparse.update,
|
||||
'upgrade': argparse.upgrade,
|
||||
'check-updates': argparse.check_updates,
|
||||
'build': argparse.build,
|
||||
'install': argparse.install,
|
||||
'download': argparse.download,
|
||||
'remove': argparse.remove,
|
||||
'view': argparse.view,
|
||||
'find': argparse.find,
|
||||
'search': argparse.search,
|
||||
'clean-logs': argparse.clean_logs,
|
||||
'clean-tmp': argparse.clean_tmp
|
||||
'clean-tmp': argparse.clean_tmp,
|
||||
'build': argparse.build,
|
||||
'-b': argparse.build,
|
||||
'install': argparse.install,
|
||||
'-i': argparse.install,
|
||||
'download': argparse.download,
|
||||
'-d': argparse.download,
|
||||
'remove': argparse.remove,
|
||||
'-r': argparse.remove,
|
||||
'view': argparse.view,
|
||||
'-w': argparse.view,
|
||||
'find': argparse.find,
|
||||
'-f': argparse.find,
|
||||
'search': argparse.search,
|
||||
'-s': argparse.search
|
||||
}
|
||||
|
||||
try:
|
||||
|
|
|
@ -19,26 +19,26 @@ def usage(status: int):
|
|||
f'{BOLD}DESCRIPTION:{ENDC}',
|
||||
' Packaging tool that interacts with the SBo repository.\n',
|
||||
f'{BOLD}COMMANDS:{ENDC}',
|
||||
f' {RED}update{ENDC} Update the package lists.',
|
||||
f' {CYAN}upgrade{ENDC} Upgrade all the packages.',
|
||||
f' {CYAN}check-updates{ENDC} Check for news on ChangeLog.txt.',
|
||||
f' {CYAN}build{ENDC} <packages> Build only the packages.',
|
||||
f' {CYAN}install{ENDC} <packages> Build and install the packages.',
|
||||
f' {CYAN}download{ENDC} <packages> Download only the scripts and sources.',
|
||||
f' {CYAN}remove{ENDC} <packages> Remove installed packages.',
|
||||
f' {CYAN}find{ENDC} <packages> Find installed packages.',
|
||||
f' {CYAN}view{ENDC} <packages> View packages from the repository.',
|
||||
f' {CYAN}search{ENDC} <packages> Search packages from the repository.',
|
||||
f' {CYAN}clean-logs{ENDC} Clean dependencies log tracking.',
|
||||
f' {CYAN}clean-tmp{ENDC} Delete all the downloaded sources.\n',
|
||||
f' {RED}update{ENDC} Update the package lists.',
|
||||
f' {CYAN}upgrade{ENDC} Upgrade all the packages.',
|
||||
f' {CYAN}check-updates{ENDC} Check for news on ChangeLog.txt.',
|
||||
f' {CYAN}clean-logs{ENDC} Clean dependencies log tracking.',
|
||||
f' {CYAN}clean-tmp{ENDC} Delete all the downloaded sources.',
|
||||
f' {CYAN}-b, build{ENDC} <packages> Build only the packages.',
|
||||
f' {CYAN}-i, install{ENDC} <packages> Build and install the packages.',
|
||||
f' {CYAN}-d, download{ENDC} <packages> Download only the scripts and sources.',
|
||||
f' {CYAN}-r, remove{ENDC} <packages> Remove installed packages.',
|
||||
f' {CYAN}-f, find{ENDC} <packages> Find installed packages.',
|
||||
f' {CYAN}-w, view{ENDC} <packages> View packages from the repository.',
|
||||
f' {CYAN}-s, search{ENDC} <packages> Search packages from the repository.\n',
|
||||
f'{BOLD}OPTIONS:{ENDC}',
|
||||
f' {YELLOW}--yes{ENDC} Answer Yes to all questions.',
|
||||
f' {YELLOW}--jobs{ENDC} Set it for multicore systems.',
|
||||
f' {YELLOW}--resolve-off{ENDC} Turns off dependency resolving.',
|
||||
f' {YELLOW}--reinstall{ENDC} Upgrade packages of the same version.',
|
||||
f' {YELLOW}--skip-installed{ENDC} Skip installed packages.\n',
|
||||
' -h, --help Show this message and exit.',
|
||||
' -v, --version Print version and exit.\n',
|
||||
f' {YELLOW}--yes{ENDC} Answer Yes to all questions.',
|
||||
f' {YELLOW}--jobs{ENDC} Set it for multicore systems.',
|
||||
f' {YELLOW}--resolve-off{ENDC} Turns off dependency resolving.',
|
||||
f' {YELLOW}--reinstall{ENDC} Upgrade packages of the same version.',
|
||||
f' {YELLOW}--skip-installed{ENDC} Skip installed packages.\n',
|
||||
' -h, --help Show this message and exit.',
|
||||
' -v, --version Print version and exit.\n',
|
||||
'Edit the configuration file in the /etc/slpkg/slpkg.yml.',
|
||||
'If you need more information try to use slpkg manpage.']
|
||||
|
||||
|
|
Loading…
Reference in a new issue