ollama
ollama copied to clipboard
ollama list flags help
There is no obvious way of seeing what flags are available for ollama list
ollama list --help
List models
Usage:
ollama list [flags]
Aliases:
list, ls
Flags:
-h, --help help for list
There's actually only the -h
flag for ollama list
right now. Was there anything in particular that you were looking for?
Yes there are several things that could be improved upon. Currently ollama list will display Name,ID,Size and modified in the current format with no variation. This is problematic.
- Name is case sensitive alphabetical using -I or --ignorecase for ignore case would make it case insensitive alphabetical
- currently the size of the model is in human readable format which uses things like 637 MB, 4.1 GB. If I want to send it through a sort program that is a problem. I propose using the -s or --size of bytes, otherwise the default is human readable.
- The modified column has things like 6 days ago, or 8 weeks ago which is good for humans, but not so good for other things. I propose -t or --time in the HH:MM:SS format and -ts or --seconds in the total number of seconds format
- There is no default sorting method. I propose -o or --order followed by the column number or negative column number for reverse sorting.
- Lastly -h or --help to show the command options.