pokanop / nostromo

👽 CLI for building powerful aliases and tools
https://nostromo.sh/
MIT License
142 stars 8 forks source link

Find command should allow searches by keypath #69

Open saheljalal opened 1 year ago

saheljalal commented 1 year ago

Allow using nostromo find with keypaths like dev.env or something to quickly access details about an added command. This is inconvenient since find returns many matching commands when you might only want a specific one.

> nostromo find dev.install.goenv -v
+--------------+-------------------------------------------------+
| keypath      | dev.install.goenv                               |
| alias        | goenv                                           |
| command      | dev install run-ch "goenv" "brew install goenv" |
| description  | Install goenv to manage multiple versions of go |
| code         | false                                           |
| mode         | concatenate                                     |
| aliasOnly    | false                                           |
| disabled     | false                                           |
+--------------+-------------------------------------------------+