You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
On my jail host, I have many jails, but most are not running at any given time:
bastille list lists the running jails bastille list -a lists all the jails
I use jq to parse the JSON output like so:
bastille list -j|jq
However, I cannot combine the -j flag with -a, i.e., the following commands do not work:
bastille list -j -a# the -a is silently ignored bastille list -a -j# the -j is silently ignored
Describe the solution you'd like
I would like to use the -j and -a flag together so that it lists all active and inactive jails, and outputs this list in JSON format.
Describe alternatives you've considered
There is a Python package called jc that takes the output of various Unix utilties and converts the output to JSON, but it currently does not support Bastille.
Additional context
[None]
The text was updated successfully, but these errors were encountered:
njthomas
changed the title
[ENHANCEMENT] bastille list -a -j (support list of all jails and output to JSON format)
[ENHANCEMENT] bastille list -a -j (support listing of all jails and output to JSON format)
Mar 11, 2024
njthomas
changed the title
[ENHANCEMENT] bastille list -a -j (support listing of all jails and output to JSON format)
[ENHANCEMENT] bastille list -a -j (support listing of all jails with output to JSON format)
Mar 11, 2024
njthomas
changed the title
[ENHANCEMENT] bastille list -a -j (support listing of all jails with output to JSON format)
[ENHANCEMENT] bastille list -a -j (support listing of all jails with output to JSON)
Mar 11, 2024
Is your feature request related to a problem? Please describe.
On my jail host, I have many jails, but most are not running at any given time:
bastille list
lists the running jailsbastille list -a
lists all the jailsI use jq to parse the JSON output like so:
bastille list -j|jq
However, I cannot combine the
-j
flag with-a
, i.e., the following commands do not work:bastille list -j -a
# the -a is silently ignoredbastille list -a -j
# the -j is silently ignoredDescribe the solution you'd like
I would like to use the
-j
and-a
flag together so that it lists all active and inactive jails, and outputs this list in JSON format.Describe alternatives you've considered
There is a Python package called
jc
that takes the output of various Unix utilties and converts the output to JSON, but it currently does not support Bastille.Additional context
[None]
The text was updated successfully, but these errors were encountered: