added -h output to readme

This commit is contained in:
2024-03-07 23:45:06 +01:00
parent b63042d53c
commit 7d250d7634

View File

@ -0,0 +1,27 @@
# snek
## Usage
```bash
$ ./snek -h
```
```
usage: snek [-h] [--root ROOT] [--exe EXE] {envs,root,exe,info,fork,bless} ...
🐍
optional arguments:
-h, --help show this help message and exit
--root ROOT conda root folder / prefix (read from the current env, if not given)
--exe EXE conda or mamba executable (read from the current env, if not given)
commands:
{envs,root,exe,info,fork,bless}
envs print existing envs
root print root
exe print exe
info print info
fork fork a conda env
bless bless a conda env
```