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
Lotus CLI commands currently use a variety of formats to output information. These commands are often used by operators in scripts where a whole bunch of string manipulations are required to get to desired output.
The proposal here is to introduce a top-level flag, --output where once set it affects the output format of all sub commands, with initial support for two formats: json and text.
This way, it would be much easier to programmatically use the lotus CLIs, e.g. via pipe to jq etc.
The text was updated successfully, but these errors were encountered:
Lotus CLI commands currently use a variety of formats to output information. These commands are often used by operators in scripts where a whole bunch of string manipulations are required to get to desired output.
The proposal here is to introduce a top-level flag,
--output
where once set it affects the output format of all sub commands, with initial support for two formats:json
andtext
.This way, it would be much easier to programmatically use the lotus CLIs, e.g. via pipe to
jq
etc.The text was updated successfully, but these errors were encountered: