Skip to content

ankeesler/flexec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flexec

This tool makes it easier to fly exec tasks from anywhere on your machine.

IMPORTANT NOTE

This only works on CredHub workstations currently :)

To Use:

$ go install github.com/ankeesler/flexec
$ flexec lint
flexec: reading task path /Users/pivotal/workspace/credhub-ci/tasks/lint/task.yml
flexec: resolved input credhub-ci to path /Users/pivotal/workspace/credhub-ci
enter value for input credhub-src (default '/Users/pivotal/workspace/credhub-release/src/credhub'):
flexec: resolved input credhub-src to path /Users/pivotal/workspace/credhub-release/src/credhub
flexec: running command:
  HOME=/Users/pivotal
  fly
  --target
  credhub
  execute
  --config
  /Users/pivotal/workspace/credhub-ci/tasks/lint/task.yml
  --input=credhub-ci=/Users/pivotal/workspace/credhub-ci
  --input=credhub-src=/Users/pivotal/workspace/credhub-release/src/credhub

executing build 81827 at https://credhub.ci.cf-app.com/builds/81827
initializing
...

TODO

  • allow users to override input directory if can't be found on disk
  • allow users to override param option even if there is a default

About

This tool makes it easier to `fly exec` tasks from anywhere on your machine.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages