Skip to content

Commit 2b51a43

Browse files
authored
Merge pull request #16 from pavinjosdev/dev
Update README.md
2 parents 959f9d5 + 006b882 commit 2b51a43

File tree

1 file changed

+65
-26
lines changed

1 file changed

+65
-26
lines changed

README.md

Lines changed: 65 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
# zypperoni 🍕
2-
Speed up [openSUSE's](https://en.wikipedia.org/wiki/OpenSUSE) package manager [zypper](https://en.wikipedia.org/wiki/ZYpp).
2+
Speed up [openSUSE's](https://en.wikipedia.org/wiki/OpenSUSE) package manager [zypper](https://en.wikipedia.org/wiki/ZYpp). 🐌 ➡️ 🐱
33

44
## Synopsis
5-
Zypperoni (a portmanteau of zypper and pepperoni 🍕) is a simple single file program without any external dependencies that can be used to massively speed up zypper's most used and time consuming commands.
5+
Zypperoni (a portmanteau of zypper and pepperoni 🍕) is a simple single file program without any external dependencies that can be used to massively speed up zypper's most used and time consuming commands. 🚀
66

7-
Zypperoni uses various techniques to safely group together zypper operations where possible in an async manner and does not by itself make any changes to your configs or system, making it suitable for production use.
7+
Zypperoni uses various techniques to safely group together zypper operations where possible in an async manner and does not by itself make any changes to your configs or system, making it suitable for production use. 💫
8+
9+
## Requirements
10+
There are no external dependencies other than common shell tools and the Python interpreter which should already be installed on your system.
11+
Minimum python version required: `3.9`. If you're on Leap and have an older Python version, use [pyenv](https://github.com/pyenv/pyenv) to get a newer version.
812

913
## Installation
1014

@@ -13,33 +17,68 @@ curl -s https://raw.githubusercontent.com/pavinjosdev/zypperoni/main/zypperoni |
1317
sudo chmod 755 /usr/bin/zypperoni
1418
```
1519

20+
> [!CAUTION]
21+
> Breaking changes when moving from version 0.x.x to 1.x.x
22+
1623
## Usage
1724
Type in `zypperoni --help` for usage help.
1825

1926
```
20-
Usage: zypperoni [options] command
21-
zypperoni [options] in pkg1 [pkg2 ...]
22-
zypperoni [options] in-download pkg1 [pkg2 ...]
23-
24-
zypperoni provides parallel operations
25-
for zypper's oft-used time consuming commands.
26-
27-
Commands:
28-
ref - Refresh all enabled repos
29-
force-ref - Force refresh all enabled repos
30-
in - Install packages
31-
in-download - Download packages for later installation
32-
dup - Perform distribution upgrade
33-
dup-download - Download packages required for distribution upgrade
34-
inr - Install new packages recommended by already installed ones
35-
inr-download - Download new packages recommended by already installed ones
36-
37-
Options:
38-
--debug - Enable debug output
39-
--help - Print this help and exit
40-
--version - Print version number and exit
41-
--no-confirm - Automatic yes to prompts, run non-interactively
42-
--max-jobs - Maximum number of parallel operations [default: 10 / max: 20]
27+
usage: zypperoni [-h] [-v] [-y] [-j {5,10,15,20}] [--debug] [--no-color] {refresh,ref,dist-upgrade,dup,install,in,install-new-recommends,inr} ...
28+
29+
zypperoni provides parallel operations for zypper's oft-used time consuming commands.
30+
31+
options:
32+
-h, --help show this help message and exit
33+
-v, -V, --version print version number and exit (default: False)
34+
-y, --no-confirm automatic yes to prompts, run non-interactively (default: False)
35+
-j {5,10,15,20}, --jobs {5,10,15,20}
36+
number of parallel operations (default: 10)
37+
--debug enable debug output (default: False)
38+
--no-color disable color output (default: False)
39+
40+
commands:
41+
type 'zypperoni <command> --help' to get command-specific help
42+
43+
{refresh,ref,dist-upgrade,dup,install,in,install-new-recommends,inr}
44+
refresh (ref) refresh all enabled repos
45+
dist-upgrade (dup) perform distribution upgrade
46+
install (in) install one or more packages
47+
install-new-recommends (inr)
48+
install new packages recommended by already installed ones
49+
```
50+
51+
## Examples
52+
1. Refresh all repos
53+
```
54+
sudo zypperoni ref
55+
# or verbosely
56+
sudo zypperoni refresh
57+
```
58+
59+
2. Force refresh all repos
60+
```
61+
sudo zypperoni ref -f
62+
```
63+
64+
3. Perform distribution upgrade
65+
```
66+
sudo zypperoni dup
67+
```
68+
69+
4. Download packages to perform distribution upgrade
70+
```
71+
sudo zypperoni dup -d
72+
```
73+
74+
5. Install packages
75+
```
76+
sudo zypperoni in htop btop
77+
```
78+
79+
6. Get help for specific command
80+
```
81+
zypperoni inr -h
4382
```
4483

4584
## Performance tests

0 commit comments

Comments
 (0)