Simple ApiBlueprint builder.
go get github.com/m1ome/scruffy
$ scruffy --help
NAME:
Scruffy - build your blueprints from mess to order!
USAGE:
scruffy [global options] command [command options] [arguments...]
VERSION:
0.0.1
COMMANDS:
publish Publish/Preview your public blueprint
build Build your blueprint
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--token value apiary.io token
--help, -h show help
--version, -v print the version
Building changes will be available at <source>\build\apiary.apib
$ scruffy build --help
NAME:
scruffy build - Build your blueprint
USAGE:
scruffy build [command options] [arguments...]
OPTIONS:
--config scruffy.yml application configuration in yaml scruffy.yml
--env value Environment that have been set in config
--watch false Watch changes and reload on file change false
Publishing changes to apiary.io
$ scruffy publish --help
NAME:
scruffy publish - Publish/Preview your public blueprint
USAGE:
scruffy publish [command options] [arguments...]
OPTIONS:
--config scruffy.yml application configuration in yaml scruffy.yml
--env value Environment that have been set in config
--release false Release changes in production doc false
--watch false Watch changes and reload on file change false
source: source
token: <YOUR_TOKEN>
environments:
public:
release: scruffypublic
preview: scruffypublicpreview
env:
Title: Hello, user!
Token: 519503441186ceb64b433cbc6455d2e7
private:
release: scruffyprivate
preview: scruffyprivatepreview
env:
Title: Hello, world.
Token: 519503441186ceb64b433cbc6455d2e7