Sergio Díaz
d598e5e322
Merge pull request #5 from Seich/environment-variables
...
This adds a missing test for when a request is already in a cache.
2018-01-11 00:14:22 -06:00
David Diaz
29b93e6cba
This adds a missing test for when a request is already in a cache.
2018-01-11 00:08:38 -06:00
Sergio Díaz
28ddf88a41
Merge pull request #4 from Seich/environment-variables
...
This adds environment variables.
2018-01-10 16:52:43 -06:00
David Diaz
90752c47b1
This adds environment variables.
...
Allows you to set variables that you can then use throughout your
configuration file.
2018-01-10 16:39:38 -06:00
Sergio Díaz
95744bf823
Merge pull request #3 from Seich/moving-to-src
...
Moved all source files into a src folder. It was getting crowded.
2018-01-10 15:20:33 -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
Sergio Díaz
b3cbe5c544
Merge pull request #2 from Seich/init
...
Added an init command to the CLI.
2017-12-27 21:55:42 -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
Sergio Díaz
dc7d6f977d
Merge pull request #1 from Seich/defaults
...
Added Defaults.
2017-12-27 16:47:14 -06:00
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
78a12e99f2
We now allow slashes in aliases.
2017-12-26 23:50:05 -06:00
David Diaz
24a0fdf788
0.5.0
2017-12-23 01:59:55 -06:00
David Diaz
458f0f65ce
Updated ReadMe
2017-12-23 01:57:13 -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
6a3e0e136b
0.4.0
2017-12-04 00:00:42 -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
a8a71caad8
0.3.1
2017-10-23 10:13:25 -06:00
David Diaz
4be83a5d4d
Added a .gitattributes to fix issues when installing on some OSs
2017-10-23 10:08:42 -06:00
David Diaz
17e3394f9c
0.3.0
2017-10-21 14:39:28 -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
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
d1dfcb8c7d
Small readme update.
2017-04-05 23:07:12 -06:00
Sergio Díaz
df884bdb8b
0.2.1
2017-04-05 23:04:19 -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
431080283d
0.2.0
2017-04-05 22:58:29 -06:00
Sergio Díaz
9ac4e9c75e
Merge branch 'master' of github.com:Seich/Beau
2017-04-05 22:57:10 -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
David Diaz
6335139cbd
0.1.2
2017-03-09 17:03:09 -06:00
Sergio Díaz
28b7b3a7d8
Update README.md
2017-03-08 17:48:57 -06:00
Sergio Díaz
f5607f861a
Fixes failing test.
2017-03-08 17:43:42 -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
3de4378383
Merge branch 'master' of github.com:Seich/Beau
2017-03-07 18:02:12 -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
David Diaz
1f22259f50
Merge branch 'master' of github.com:Seich/Beau
2017-03-02 10:25:48 -06:00
David Diaz
c93ca76d4d
0.1.1
2017-03-02 10:25:31 -06:00
Sergio Díaz
088b76be6b
Update README.md
2017-03-02 10:25:00 -06:00
David Diaz
4f946eeafa
Updated package version.
2017-03-02 10:20:01 -06:00
Sergio Díaz
60ea0d5f7f
Update README.md
2017-03-02 10:16:23 -06:00
Sergio Díaz
16030925ea
Update README.md
2017-03-02 10:03:29 -06:00
David Diaz
dd7bbaaee5
Updated README and added licensing information
2017-03-01 18:38:36 -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