Skip to content

Commit 17ae706

Browse files
authored
Update README.md
1 parent 35556b8 commit 17ae706

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Diff for: README.md

+9
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,15 @@ It's designed for when `requirements.txt` isn't enough, and you have to detect o
1818

1919
```shell
2020
pip install abx-pkg
21+
22+
python
23+
>>> from abx_pkg import Binary, NpmProvider
24+
25+
>>> curl = Binary('curl').load()
26+
>>> print(curl.abspath, curl.version, curl.exec(cmd=['--version']))
27+
/usr/bin/curl 7.81.0 curl 7.81.0 (x86_64-apple-darwin23.0) libcurl/7.81.0 ...
28+
29+
>>> NpmProvider().install('puppeteer')
2130
```
2231

2332

0 commit comments

Comments
 (0)