mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-26 09:58:31 +01:00
Rename option
This commit is contained in:
parent
4eab533aef
commit
b3f96e3d69
8 changed files with 15 additions and 15 deletions
|
@ -1,7 +1,7 @@
|
||||||
4.5.1 - 16/01/2023
|
4.5.1 - 16/01/2023
|
||||||
Added:
|
Added:
|
||||||
- Option --directory=PATH for download command
|
- Option --directory=PATH for download command
|
||||||
- Option --repo-version for print repository version
|
- Option --pkg-version for print repository version
|
||||||
|
|
||||||
4.5.0 - 14/01/2023
|
4.5.0 - 14/01/2023
|
||||||
Updated:
|
Updated:
|
||||||
|
|
|
@ -89,7 +89,7 @@ Usage
|
||||||
--search Search packages from the repository.
|
--search Search packages from the repository.
|
||||||
--no-silent Disable silent mode.
|
--no-silent Disable silent mode.
|
||||||
--directory=PATH Download files to a specific path.
|
--directory=PATH Download files to a specific path.
|
||||||
--repo-version Print the repository package version.
|
--pkg-version Print the repository package version.
|
||||||
|
|
||||||
-h, --help Show this message and exit.
|
-h, --help Show this message and exit.
|
||||||
-v, --version Print version and exit.
|
-v, --version Print version and exit.
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
.P
|
.P
|
||||||
slpkg [-h|-v] [update] [upgrade] [check-updates] [configs] [clean-logs] [clean-tmp] [-b, build] [-i, install] [-d, download]
|
slpkg [-h|-v] [update] [upgrade] [check-updates] [configs] [clean-logs] [clean-tmp] [-b, build] [-i, install] [-d, download]
|
||||||
[-r, remove] [-f, find] [-w, view] [-s, search] [-e, dependees] [-t, tracking] --yes, --jobs, --resolve-off,
|
[-r, remove] [-f, find] [-w, view] [-s, search] [-e, dependees] [-t, tracking] --yes, --jobs, --resolve-off,
|
||||||
--reinstall, --skip-installed, --full-reverse, --search, --no-silent, --directory=PATH, --repo-version
|
--reinstall, --skip-installed, --full-reverse, --search, --no-silent, --directory=PATH, --pkg-version
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.P
|
.P
|
||||||
\fBSlpkg\fP est un gestionnaire de paquets logiciels qui \fBinstalle\fP, \fBmet à jour\fP et \fBsupprime\fP les paquets pour les systèmes basés sur \fBSlackware\fP.
|
\fBSlpkg\fP est un gestionnaire de paquets logiciels qui \fBinstalle\fP, \fBmet à jour\fP et \fBsupprime\fP les paquets pour les systèmes basés sur \fBSlackware\fP.
|
||||||
|
@ -83,12 +83,12 @@ Voir les paquets du dépôt et obtenir toutes les informations dans le terminal.
|
||||||
Rechercher les paquets.
|
Rechercher les paquets.
|
||||||
.RE
|
.RE
|
||||||
.P
|
.P
|
||||||
.B -e, dependees --full-reverse, --search, --repo-version
|
.B -e, dependees --full-reverse, --search, --pkg-version
|
||||||
.RS
|
.RS
|
||||||
Montre les dépendances du paquet.
|
Montre les dépendances du paquet.
|
||||||
.RE
|
.RE
|
||||||
.P
|
.P
|
||||||
.B -t, tracking --search, --repo-version
|
.B -t, tracking --search, --pkg-version
|
||||||
.RS
|
.RS
|
||||||
Suivi des dépendances des paquets.
|
Suivi des dépendances des paquets.
|
||||||
.RE
|
.RE
|
||||||
|
@ -144,7 +144,7 @@ Désactive le mode silencieux s'il est activé dans le fichier de configuration.
|
||||||
Le répertoire est le chemin où les fichiers seront enregistrés.
|
Le répertoire est le chemin où les fichiers seront enregistrés.
|
||||||
.RE
|
.RE
|
||||||
.P
|
.P
|
||||||
--repo-version
|
--pkg-version
|
||||||
.RS
|
.RS
|
||||||
Imprimez la version du package du référentiel.
|
Imprimez la version du package du référentiel.
|
||||||
.RE
|
.RE
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
.P
|
.P
|
||||||
slpkg [-h|-v] [update] [upgrade] [check-updates] [configs] [clean-logs] [clean-tmp] [-b, build] [-i, install] [-d, download]
|
slpkg [-h|-v] [update] [upgrade] [check-updates] [configs] [clean-logs] [clean-tmp] [-b, build] [-i, install] [-d, download]
|
||||||
[-r, remove] [-f, find] [-w, view] [-s, search] [-e, dependees] [-t, tracking] --yes, --jobs, --resolve-off,
|
[-r, remove] [-f, find] [-w, view] [-s, search] [-e, dependees] [-t, tracking] --yes, --jobs, --resolve-off,
|
||||||
--reinstall, --skip-installed, --full-reverse, --search, --no-silent, --directory=PATH, --repo-version
|
--reinstall, --skip-installed, --full-reverse, --search, --no-silent, --directory=PATH, --pkg-version
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.P
|
.P
|
||||||
Slpkg is a software package manager that installs, updates, and removes packages on Slackware based systems.
|
Slpkg is a software package manager that installs, updates, and removes packages on Slackware based systems.
|
||||||
|
@ -83,12 +83,12 @@ View packages from the repository and get everything in your terminal.
|
||||||
Search and match packages from the repository.
|
Search and match packages from the repository.
|
||||||
.RE
|
.RE
|
||||||
.P
|
.P
|
||||||
.B -e, dependees --full-reverse, --search, --repo-version
|
.B -e, dependees --full-reverse, --search, --pkg-version
|
||||||
.RS
|
.RS
|
||||||
Show which SlackBuilds depend on.
|
Show which SlackBuilds depend on.
|
||||||
.RE
|
.RE
|
||||||
.P
|
.P
|
||||||
.B -t, tracking --search, --repo-version
|
.B -t, tracking --search, --pkg-version
|
||||||
.RS
|
.RS
|
||||||
Tracking the packages dependencies.
|
Tracking the packages dependencies.
|
||||||
.RE
|
.RE
|
||||||
|
@ -144,7 +144,7 @@ Disable silent mode if it is enabled in the configuration file.
|
||||||
The directory is the path where the files will be saved.
|
The directory is the path where the files will be saved.
|
||||||
.RE
|
.RE
|
||||||
.P
|
.P
|
||||||
--repo-version
|
--pkg-version
|
||||||
.RS
|
.RS
|
||||||
Print the repository package version.
|
Print the repository package version.
|
||||||
.RE
|
.RE
|
||||||
|
|
|
@ -15,7 +15,7 @@ class Dependees:
|
||||||
self.packages = packages
|
self.packages = packages
|
||||||
self.flags = flags
|
self.flags = flags
|
||||||
self.flag_full_reverse = '--full-reverse'
|
self.flag_full_reverse = '--full-reverse'
|
||||||
self.flag_repo_version = '--repo-version'
|
self.flag_repo_version = '--pkg-version'
|
||||||
self.configs = Configs
|
self.configs = Configs
|
||||||
self.session = Session
|
self.session = Session
|
||||||
self.ascii = Ascii()
|
self.ascii = Ascii()
|
||||||
|
|
|
@ -52,7 +52,7 @@ class Argparse(Configs):
|
||||||
self.flag_search = '--search'
|
self.flag_search = '--search'
|
||||||
self.flag_no_silent = '--no-silent'
|
self.flag_no_silent = '--no-silent'
|
||||||
self.flag_directory = '--directory='
|
self.flag_directory = '--directory='
|
||||||
self.flag_repo_version = '--repo-version'
|
self.flag_repo_version = '--pkg-version'
|
||||||
|
|
||||||
self.is_dialog_enabled()
|
self.is_dialog_enabled()
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ class Tracking(Configs):
|
||||||
def __init__(self, flags: list):
|
def __init__(self, flags: list):
|
||||||
super(Configs, self).__init__()
|
super(Configs, self).__init__()
|
||||||
self.flags = flags
|
self.flags = flags
|
||||||
self.flag_repo_version = '--repo-version'
|
self.flag_repo_version = '--pkg-version'
|
||||||
self.ascii = Ascii()
|
self.ascii = Ascii()
|
||||||
self.llc = self.ascii.lower_left_corner
|
self.llc = self.ascii.lower_left_corner
|
||||||
self.hl = self.ascii.horizontal_line
|
self.hl = self.ascii.horizontal_line
|
||||||
|
|
|
@ -27,7 +27,7 @@ class Usage(Configs):
|
||||||
f' slpkg [{self.cyan}COMMAND{self.endc}] [-t, tracking] <packages>\n'
|
f' slpkg [{self.cyan}COMMAND{self.endc}] [-t, tracking] <packages>\n'
|
||||||
f' slpkg [{self.yellow}OPTIONS{self.endc}] [--yes, --jobs, --resolve-off, --reinstall]\n'
|
f' slpkg [{self.yellow}OPTIONS{self.endc}] [--yes, --jobs, --resolve-off, --reinstall]\n'
|
||||||
f' slpkg [{self.yellow}OPTIONS{self.endc}] [--skip-installed, --full-reverse, --search]\n'
|
f' slpkg [{self.yellow}OPTIONS{self.endc}] [--skip-installed, --full-reverse, --search]\n'
|
||||||
f' slpkg [{self.yellow}OPTIONS{self.endc}] [--no-silent, --directory=PATH, --repo-version]\n'
|
f' slpkg [{self.yellow}OPTIONS{self.endc}] [--no-silent, --directory=PATH, --pkg-version]\n'
|
||||||
" \nIf you need more information please try 'slpkg --help'.")
|
" \nIf you need more information please try 'slpkg --help'.")
|
||||||
|
|
||||||
print(args)
|
print(args)
|
||||||
|
@ -65,7 +65,7 @@ class Usage(Configs):
|
||||||
f' {self.yellow}--search{self.endc} Search packages from the repository.\n'
|
f' {self.yellow}--search{self.endc} Search packages from the repository.\n'
|
||||||
f' {self.yellow}--no-silent{self.endc} Disable silent mode.\n'
|
f' {self.yellow}--no-silent{self.endc} Disable silent mode.\n'
|
||||||
f' {self.yellow}--directory={self.endc}PATH Download files to a specific path.\n'
|
f' {self.yellow}--directory={self.endc}PATH Download files to a specific path.\n'
|
||||||
f' {self.yellow}--repo-version{self.endc} Print the repository package version.\n'
|
f' {self.yellow}--pkg-version{self.endc} Print the repository package version.\n'
|
||||||
'\n -h, --help Show this message and exit.\n'
|
'\n -h, --help Show this message and exit.\n'
|
||||||
' -v, --version Print version and exit.\n'
|
' -v, --version Print version and exit.\n'
|
||||||
'\nEdit the configuration file in the /etc/slpkg/slpkg.toml \n'
|
'\nEdit the configuration file in the /etc/slpkg/slpkg.toml \n'
|
||||||
|
|
Loading…
Reference in a new issue