Commit Graph

16 Commits

Author SHA1 Message Date
yo
7b34495cf6 displaySnapshotsFields is a copy of displayJailsFields to pretty display jails snapshots 2022-04-04 19:47:15 +02:00
yo
910be4ea31 Add gocage list snapshot myjail 2022-04-03 14:27:26 +02:00
yo
bf20c815ce Moved some code to utils.go 2022-04-02 15:50:14 +02:00
yo
f1c4fd960d Add command "list properties" so we can get all internal properties to sort, filter, or set jail properties 2022-04-02 15:40:04 +02:00
yo
eacc165481 Mount local FS; get struct pointer so we can modify values 2022-04-02 14:18:50 +02:00
yo
12c0a37617 BUGFIX when no -s 2021-12-21 20:47:46 +01:00
yo
c36cf9511a Add sort support, can use every field 2021-12-20 22:10:38 +01:00
yo
fd0cb27798 Add filter option, update Readme 2021-12-19 16:49:07 +01:00
yo
c1771153d6 Display fields with more than 1 value (p.e ip4_addr), line separator between jails 2021-12-19 14:31:51 +01:00
yo
4eeb6d0d99 Choose fields to display with -o flag 2021-12-19 13:05:30 +01:00
yo
f90de63f87 Get zpool, dont display JID if jail is off 2021-12-19 12:41:16 +01:00
yo
57ff518f6c chose listed jails, show real field name in header, sudo parameter, moved utilities into cmd/utils.go, started working on stop command 2021-12-18 21:34:11 +01:00
yo
06900bfa9c displayStructFields now recurse into nested structs 2021-12-18 17:15:06 +01:00
yo
3fdca54cc4 Fix NoValue field, Fix MaxLen when header name is > value 2021-12-18 15:37:05 +01:00
yo
26166489fd Add pretty display for struct array 2021-12-18 15:22:55 +01:00
yo
541222e2d0 Init 2021-12-18 13:13:25 +01:00