Skip to content
/ scruffy Public

Simple apiblueprint builder/publisher. Supporting apiary.io

License

Notifications You must be signed in to change notification settings

m1ome/scruffy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scruffy

Build Status Coverage Status Go Report Card

Simple ApiBlueprint builder.

Scruffy

Installation

go get github.com/m1ome/scruffy

Usage

$ 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

Build

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

Publish

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

Configuraion file

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

About

Simple apiblueprint builder/publisher. Supporting apiary.io

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published