Skip to content

Commit f0cda2c

Browse files
committed
Add more use cases.
1 parent aeb05d4 commit f0cda2c

1 file changed

Lines changed: 44 additions & 4 deletions

File tree

docs/usecase.rst

Lines changed: 44 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,50 @@ A [recent study shows that 70% of vulnerabilities lies in outdated libraries](ht
3838
This is the primary use case of ``mpm`` and the first reason I built it.
3939

4040

41-
Source packages
42-
---------------
41+
Fills the gap between managers
42+
------------------------------
4343

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:
4585

4686
.. code-block:: shell-session
4787
@@ -59,7 +99,7 @@ You just learned of a fantastic ``broot`` CLI from a friend. Back to your termin
5999
(...)
60100
🍺 /usr/local/Cellar/broot/0.13.6: 8 files, 3.5MB
61101
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).
63103

64104
.. todo::
65105

0 commit comments

Comments
 (0)