Skip to content

drnic/lattice-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

lattice-cli

Lattice CLI

##Setup:

Make sure you have go installed and your $GOPATH is properly set. Then run:

go get -u github.com/pivotal-cf-experimental/lattice-cli/ltc

This installs or updates the ltc binary to $GOPATH/bin.

##Commands:

###Target a Lattice domain:

ltc target LATTICE_DOMAIN

###Start a docker app on Lattice:

ltc start APP_NAME -i DOCKER_IMAGE -- START_COMMAND [APP_ARG1 APP_ARG2...]

###Tail an app's logs on Lattice:

ltc logs APP_NAME

###Example Usage with Lattice on Vagrant Lattice:

ltc target 192.168.11.11.xip.io
ltc start lattice-app -i "docker:///cloudfoundry/lattice-app" -- /lattice-app --message="hello"
ltc logs lattice-app

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.2%
  • Shell 0.8%