Commit Graph

11 Commits

Author SHA1 Message Date
David Diaz 933fb1b077 Added an init command to the CLI.
Init will create a config file with the endpoint filled to whatever is
set. It also has helpful comments to guide you through creating a config
file.
2017-12-27 21:28:54 -06:00
David Diaz 930a957bf3 Cleaning up the code.
Mostly trying to get test coverage up by refactoring and cleaning
methods.
2017-12-23 00:34:36 -06:00
David Diaz 35983addf7 Refactored the cli.
Started making use of commander's commands and actions. This changes how
beau is invoked but I feel like it's a lot easier to work with now.
2017-12-07 21:55:36 -06:00
David Diaz 32b9f0f523 Cleaning the CLI tool. Small refactorings all around.
If a string is passed to a request configuration its now considered
that request's alias.
2017-12-03 23:56:09 -06:00
David Diaz e8f3d0eda2 Added support for a documentation field in the beau.yaml file.
This field will be use to prettify the output of certain tools and to
document apis.
2017-10-21 14:39:00 -06:00
David Diaz baa4a4eafc Added format-less versions of list and request to the command line. This
makes it easier to add direct support for beau on external applications.
2017-10-21 00:54:38 -06:00
Sergio Díaz e70fb135b6 Updated readme. Made it so the CLI shows the correct version. 2017-04-05 23:03:53 -06:00
Sergio Díaz fde0fc6543 Moved all of the uppercase stuff into the code and out of the config.
This makes it easier to write the config file and makes everything easier to reason about on the code.
2017-03-07 18:01:11 -06:00
Sergio Díaz 5a1f42827f Add help if no command was issued. 2017-03-07 16:48:56 -06:00
Sergio Díaz b033031a43 Doing some basic refactoring to make the code nicer.
Removed all methods we weren't user anymore.
2017-02-13 18:05:47 -06:00
Sergio Díaz 40f17dccaf Initial Commit. 2017-02-10 21:11:13 -06:00