diff --git a/README.md b/README.md new file mode 100644 index 0000000..c8da02a --- /dev/null +++ b/README.md @@ -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. diff --git a/run.sh b/run.sh index d70c0cd..032e3e2 100755 --- a/run.sh +++ b/run.sh @@ -7,5 +7,5 @@ cmake .. make -./doEverything - +# get the arguments from the command line +./doEverything $1 $2 $3 $4 $5 $6 $7 $8 $9 diff --git a/src/main.cpp b/src/main.cpp index 6f63c6a..d6ffdb6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3,7 +3,11 @@ #include 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; }