Live data from Hacker News

Betty – English-like interface for the command line

github.com

1–10 of 84 posts

Re: Betty – English-like interface for the command line

#4

A cute tool, but seems incredibly limited. Why would I use any of these commands more than once if I can just alias them? While some of them might be useful I really just don't see myself using a tool like this.

And just for the kicks:

function genie(){ query=`printf "%s+" $@` echo $query result=`curl -s "https://weannie.pannous.com/api?out=simple&input=$query"` echo $result say $result 2>/dev/null } alias hey=genie alias how="genie how" alias what="genie what" alias when="genie when"

me:~$ what is the root of pi It is approximately 1.7725

me:~$ how old is obama Barack Obama is 52 years old

Re: Betty – English-like interface for the command line

#5

A cute tool, but seems incredibly limited. Why would I use any of these commands more than once if I can just alias them? While some of them might be useful I really just don't see myself using a tool like this.

From what I gather the developer is allowing users to use natural language so they won't have to remember arcane commands.

I have looked up how to do _____ multiple times because I don't remember the command or syntax. Creating an alias is nice but then I still have to remember my own alias or look it up.

This tool makes it so you don't have to remember anything. Assuming it works well it will yield a great user-experience.

Re: Betty – English-like interface for the command line

#6

A cute tool, but seems incredibly limited. Why would I use any of these commands more than once if I can just alias them? While some of them might be useful I really just don't see myself using a tool like this.

for real. everything you can do with this you can do with aliases for the most part. Plus, this actively prevents you from actually learning all the various core *nix cmd line utilities.

Re: Betty – English-like interface for the command line

#8
post #2

I like this idea a lot. But why on earth it is written in ruby?! - I know the answer and it is "ok". But it is probably the reason why it won't never gain huge momentum, prove me wrong :)

Doesn't really matter what it's written in as long as its logic is easily extendable by someone who doesn't know Ruby. Preferably without having to code at all.

Re: Betty – English-like interface for the command line

#9
post #6

A cute tool, but seems incredibly limited. Why would I use any of these commands more than once if I can just alias them? While some of them might be useful I really just don't see myself using a tool like this.

for real. everything you can do with this you can do with aliases for the most part. Plus, this actively prevents you from actually learning all the various core *nix cmd line utilities.

by printing them before it executes them?

Re: Betty – English-like interface for the command line

#10
post #5

A cute tool, but seems incredibly limited. Why would I use any of these commands more than once if I can just alias them? While some of them might be useful I really just don't see myself using a tool like this.

From what I gather the developer is allowing users to use natural language so they won't have to remember arcane commands. I have looked up how to do _____ multiple times because I don't remember the command or syntax. Creating an alias is nice but then I still have to remember my own alias or look it up. This tool makes it so you don't have to remember anything. Assuming it works well it will yield a great user-expe…

It's some pretty basic regex, so you're going to have to remember the correct phrasing anyway,
Post reply on HN