adding readme to outline some examples

This commit is contained in:
talksik
2024-02-27 14:07:14 -08:00
parent 733a0fbcc4
commit 096a6ce2a3
3 changed files with 33 additions and 3 deletions
+26
View File
@@ -0,0 +1,26 @@
# Overview
DoEverythingCLI allows someone to enter a command for different functionality.bbuild/
It is a similar idea to voice assistants taking actions for you, but instead, provides a reliable way to do anything you want without using the interface of a given application.
# Example
```sh
# do a google search
$ doEverything g "weather"
# search for past emails with daniel
$ doEverything gms daniel # choose one and enter
# now that you have danieljin@gmail.com selected, you can send email to them
$ doEverything gm "Are you free for coffee" --subject "Let's catch up!"
# amazon - go to the product page of the best pick for a search
$ doEverything amz "toothbrush"
```
# Inspiration
We have too many interfaces. We use 20% of these interfaces to do some simple tasks.
Voice assistants are not accurate and we don't trust them to handle tasks with complexity greater than a simple threshold.
A CLI tool with auto-complete is our solution.
+2 -2
View File
@@ -7,5 +7,5 @@ cmake ..
make
./doEverything
# get the arguments from the command line
./doEverything $1 $2 $3 $4 $5 $6 $7 $8 $9
+5 -1
View File
@@ -3,7 +3,11 @@
#include <iostream>
int main (int argc, char *argv[]) {
std::cout << "Hello World!" << std::endl;
std::cout << argc << std::endl;
for (int i = 0; i < argc; i++) {
std::cout << argv[i] << std::endl;
}
return 0;
}