Giter Site home page Giter Site logo

scruffy's Introduction

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

scruffy's People

Contributors

m1ome avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.