pickhardt / betty

Friendly English-like interface for your command line. Don't remember a command? Ask Betty.
2.62k stars 215 forks source link

Auto installation / Dependency check of command line tools #92

Open sitz opened 10 years ago

sitz commented 10 years ago

Hi there, I've been testing out betty recently. When I ask betty to run something it needs few cli utilities for getting that information. I was wondering, is in development pipeline to automatically generate dependency graphs for querying that information and installing the necessary tools for that, with user permission. maybe?

What happens now, is something like this:

○ → betty whats my real name
Betty: Running finger `whoami` | awk -F: '{ print $3 }' | head -n1 | sed 's/^ //'
sh: 1: finger: not found

Or,

○ → betty go crazy
Betty: Woah.
sh: 1: osascript: not found
sh: 1: osascript: not found
sh: 1: osascript: not found
...

This will help in developing advanced functionalities in the future which will need more than default packages.