pip install service-buddy
Usage: service-buddy [OPTIONS] COMMAND [ARGS]...
CLI for managing the repositories and build pipeline in a micro-service
--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
--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.
clone Clone all of the existing service definition repos onto the local
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.
- Bootstrap your service definitions, creating an initial repository for use with service-buddy
- Clone all repositories to local disk (uses git executable). Assumes your working directory is the directory created by the service-buddy bootstrap command
- 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"
- List all services
- Inspect all services and create any that are not existing in git