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
David Diaz
9d10db3243
Added support for forms.
...
You can now pass a form key to the request and it'll set the header and
payload automatically.
2018-04-26 14:52:06 -06:00
David Diaz
7e25f9fd29
Added update-notifier.
...
I like being notified of updates so I figured everyone else does. /s
2018-03-01 16:02:54 -06:00
David Diaz
2f33442072
Added support for dotenv.
...
If a .env file is present it's values will be added to beau's
environment variables.
2018-03-01 11:42:41 -06:00
David Diaz
fe401c1391
Added support for multiple hosts.
...
This introduces a top level key: `hosts`. It's an array where you can
configure multiple hosts with their own requests, they share defaults
and environment with the global scope.
This allows you to have multiple paths being the same with different
endpoints and settings.
2018-01-19 18:10:00 -06:00
David Diaz
44205d488c
Moved all source files into a src folder. It was getting crowded.
2018-01-10 15:13:47 -06:00
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