-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Commands like "droplets" need formatting switches #206
Comments
Makes sense. Hmm, this would probably be easiest by extending the porcelain mode from the info method into the droplets method.
How would you like it to look when it outputs, something like this:
|
@adamierymenko Can you give an example of how you want it to look? Do you want a CSV style output like we do for info and
|
CSV would be fine, and ditch the extra spaces since it requires an extra 'cut' or 'sed' etc. from the command line. Goal is to make it easy to script stuff. |
Could also do an output format flag: csv, yaml or JSON 👍 |
@adamierymenko Are you still using tugboat? Bit late now (2 years!) but I finally got this working now:
Got it up as a PR here: #294 |
@psobot Also liked this issue, are you interested in trying this? I've just merged this into master, any problems feel free to open a new issue or PR 👍 |
Commands like "droplets" need formatting switches to do things like only list IPs to avoid stuff like:
The text was updated successfully, but these errors were encountered: