CLI for managing micro-services


License
Apache-2.0
Install
pip install service-manager==0.1.35

Documentation

service-buddy

Build Status

Installation

pip install service-buddy

Usage

Usage: service-buddy [OPTIONS] COMMAND [ARGS]...

  CLI for managing the repositories and build pipeline in a micro-service
  architecture.

Options:
  --application-filter TEXT     Constrain command to operate on applications
                                that match the passed filter
  --service-directory PATH      Directory containing service definitions in
                                <app>/service.json format.  Default is
                                './services'
  --destination-directory PATH  The directory where the repositories for each
                                service should be created or currently exist.
                                Default is './code'
  --verbose                     Print verbose status messages
  --dry-run                     Preview effect of action
  --help                        Show this message and exit.

Commands:
  clone     Clone all of the existing service definition repos onto the local
            file system
  git       Run arbitrary git command for each service
  init      Analyze service definitions and initialize any new services.
  list      Print definitions for services.
  boostrap  Create a repository containing the initial definition for a micro-service stack managed by service-buddy.

Examples

  1. Bootstrap your service definitions, creating an initial repository for use with service-buddy
service-buddy bootstrap
  1. Clone all repositories to local disk (uses git executable). Assumes your working directory is the directory created by the service-buddy bootstrap command
service-buddy clone 
  1. Pull the latest for all repositories existing on local disk (uses git executable and requires 'clone' to be run first)
service-buddy  git commit -m "Big old Commit"
  1. List all services
service-buddy  list
  1. Inspect all services and create any that are not existing in git
service-buddy  init