Skip to content
This repository has been archived by the owner on Dec 26, 2017. It is now read-only.

Added support for the output parameter in zfs list #19

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

keithws
Copy link

@keithws keithws commented Oct 14, 2015

I added support to for the output parameter, so users can specify which columns of data that want to output. Since the ZFS object constructor was setting it's properties by position, I updated that code to set the properties by the column names in the output.

I also added code to convert the native properties from strings to their JavaScript type equivalents.

Updated ZFS test command to output headers and parseable numbers.
Updated ZFS object constructor to add properties from lowercase headers.
Updated list command to support -o parameter.
@calmh
Copy link
Owner

calmh commented Oct 16, 2015

Neat! Can you also update the relevant docs in the readme?

@keithws
Copy link
Author

keithws commented Oct 16, 2015

I sure can! Probably this weekend.

@calmh
Copy link
Owner

calmh commented Nov 23, 2015

Bump :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants