Commit Graph

14 Commits

Author SHA1 Message Date
David Diaz 40abf85a78 Added a new top-level setting: defaults.
Defaults allow you to set default settings for all requests. You can
pass any configuration value and it'll be merged with any values the
request already has allowing you to write even less repetitive code.
2017-12-27 16:43:47 -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 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 10623f6625 Replaced some promises with async/await. 2017-10-20 19:33:35 -06:00
David Diaz 23cedd5637 Cleaned up part of the findDependencies method to use a filter. Not sure
why but it feels better.
2017-10-20 19:13:15 -06:00
David Diaz 7ecd5428c6 Replaced unirest with request-promise. Tried using the built it http
stuff but it's just silly.
2017-10-20 18:59:37 -06:00
Sergio Díaz 3c2691b164 Added basic support for plugins.
Plugins can now be included, they can modify the requests before they
are made and modify the result. They are very simple to write and work
with. I also wrote and example plugin over at seich/beau-jwt.
2017-04-05 22:55:09 -06:00
Sergio Díaz ab19146966 Improved error reporting. Started on a new example. Working on Plugins. 2017-04-05 21:25:05 -06:00
Sergio Díaz 2531a8bb32 Add a shortcut to a request's response body since it's what it'll be used for most of the time. 2017-03-07 18:08:31 -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 c4adfeaf75 Moved the list from the request method call to it's constructor. 2017-03-01 13:44:52 -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