David Diaz
9444b9ca61
Added tests for all CLI commands.
2018-05-22 20:14:57 -06:00
David Diaz
aa0b937582
Got rid of the base class, it complicated testing.
...
Now it lives on as a utils file. Should make it easier to test the CLI.
2018-05-22 15:57:48 -06:00
David Diaz
d502f1dd01
Moved the spinner initialization to the base class.
2018-05-22 14:49:20 -06:00
Sergio Díaz
dbc7addb39
Added flags for quiet and as-json output. ( #26 )
...
--as-json outputs the response as json, this allows you to use tools
like jq on the output which is nice.
--quiet makes it so no output is printed. I added this in case you are
looping Beau and don't want to see the output of every single request.
Example: `seq 10 | xargs -I{} beau request hi --quiet`.
2018-05-22 12:08:32 -06:00
Sergio Díaz
248f4a9223
Added params as a flag to request. ( #20 )
...
This allows the use to inject arbitrary values to Beau's environment.
2018-05-06 18:26:19 -06:00
Sergio Díaz
56d536a509
Re-indented some files I was missing. ( #19 )
...
I think that's it.
2018-05-04 22:00:54 -06:00
Sergio Díaz
4fba235bad
Migrating Beau's CLI from commander to OCLIF. ( #14 )
...
* Migrating Beau's CLI from commander to OCLIF.
* Cleaning up flags.
2018-04-30 20:27:51 -06:00