vmware-archive / cfops

This is simply an automation that is based on the supported way to back up Pivotal Cloud Foundry
http://www.cfops.io
Apache License 2.0
35 stars 24 forks source link

[#116220643] - Pass the arguments to the plugin #66

Closed datianshi closed 8 years ago

datianshi commented 8 years ago

The first argument is the filename The second argument is plugin So author would consume os.Agrs[2:]

CFOPS_PLUGINS=true ./out/cfops restore -t backuprestore --dp admin --du admin --omp admin --omu ubuntu -d . --omh 52.90.167.5 --p "--abc abc --cde --abc"

The plugin see os.Agrs[2:] as --abc abc --cde --abc