You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/usecase.rst
+44-4Lines changed: 44 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,10 +38,50 @@ A [recent study shows that 70% of vulnerabilities lies in outdated libraries](ht
38
38
This is the primary use case of ``mpm`` and the first reason I built it.
39
39
40
40
41
-
Source packages
42
-
---------------
41
+
Fills the gap between managers
42
+
------------------------------
43
43
44
-
You just learned of a fantastic ``broot`` CLI from a friend. Back to your terminal, you can easely search for it and choose your preferred package manager to install it:
44
+
Some package manager are missing features.
45
+
46
+
For instance, `pip doesn't can't upgrade all outdated package <https://github.com/pypa/pip/issues/4551>`_ with a single command. ``mpm`` adds that missing feature:
47
+
48
+
.. code-block:: shell-session
49
+
50
+
$ mpm --manager pip upgrade
51
+
Updating all outdated packages from pip...
52
+
warning: pip doesn't seems to implement a full upgrade subcommand. Call
53
+
single-package upgrade CLI one by one.
54
+
55
+
Collecting boltons
56
+
Using cached boltons-20.1.0-py2.py3-none-any.whl (169 kB)
57
+
Installing collected packages: boltons
58
+
Successfully installed boltons-20.1.0
59
+
60
+
Collecting graphviz
61
+
Using cached graphviz-0.14-py2.py3-none-any.whl (18 kB)
62
+
Installing collected packages: graphviz
63
+
Successfully installed graphviz-0.14
64
+
65
+
Collecting tomlkit
66
+
Using cached tomlkit-0.6.0-py2.py3-none-any.whl (31 kB)
67
+
Installing collected packages: tomlkit
68
+
Successfully installed tomlkit-0.6.0
69
+
70
+
Collecting urllib3
71
+
Using cached urllib3-1.25.9-py2.py3-none-any.whl (126 kB)
72
+
Installing collected packages: urllib3
73
+
Successfully installed urllib3-1.25.9
74
+
75
+
Collecting zipp
76
+
Using cached zipp-3.1.0-py3-none-any.whl (4.9 kB)
77
+
Installing collected packages: zipp
78
+
Successfully installed zipp-3.1.0
79
+
80
+
81
+
Explore repositories
82
+
--------------------
83
+
84
+
You just learned of a new CLI you did not known about (``broot``) from a friend. Back to your terminal, you can easely search for it accross all package repositories, then choose your preferred package manager to install it:
45
85
46
86
.. code-block:: shell-session
47
87
@@ -59,7 +99,7 @@ You just learned of a fantastic ``broot`` CLI from a friend. Back to your termin
59
99
(...)
60
100
🍺 /usr/local/Cellar/broot/0.13.6: 8 files, 3.5MB
61
101
62
-
No need to track down the CLI on Github and read the documentation (if it exists in the first place). Or which package manager got the latest version.
102
+
Thanks to ``mpm`` we were able to choose quickly the place from which we sourced ``broot`` to get the latest version. No need to track down the CLI on Github and read the documentation (if it even exists).
0 commit comments