-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
usabilityuser-requestedThis label means, that actual users are requesting the feature and find it necessary/useful.This label means, that actual users are requesting the feature and find it necessary/useful.
Description
(Feature request)
Currently commands like jmp get exporters truncate output based on the terminal width:
$ stty -a | head -1
speed 38400 baud; rows 30; columns 67; line = 0;
$ jmp get exporters -l device=nxp-s32g-vnp-rdb3-01
NAME LABELS
nxp-s32g-vnp-rdb3-01 board-type=nxp-s32g-vnp-rdb3,device=nxp-s32g…
But it'd be nice to have a couple of options here:
-
If stdout isn't a terminal, don't truncate the output by default, like other CLI tools typically do.
-
Allow overriding the default behavior from the command line. E.g.,
--width|-w (-1|positive_int). Manually overridingCOLUMNScan also do this, although it feels a little hacky:$ COLUMNS=9999 jmp get exporters -l device=nxp-s32g-vnp-rdb3-01 NAME LABELS nxp-s32g-vnp-rdb3-01 board-type=nxp-s32g-vnp-rdb3,device=nxp-s32g-vnp-rdb3-01,enabled=true,<snip>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
usabilityuser-requestedThis label means, that actual users are requesting the feature and find it necessary/useful.This label means, that actual users are requesting the feature and find it necessary/useful.