Member Junction
Preparing search index...
@memberjunction/cli-core
ResolveOutputFormat
Function ResolveOutputFormat
ResolveOutputFormat
(
input
?:
FormatResolutionInput
)
:
FormatResolution
Resolves the output format, most explicit signal first:
--format
(any recognized alias)
--json
FORMAT_ENV
stdout is not a TTY →
json
— the pipe
is
the request
otherwise
text
Parameters
input
:
FormatResolutionInput
= {}
Returns
FormatResolution
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Member Junction
Loading...
Resolves the output format, most explicit signal first:
--format(any recognized alias)--jsonjson— the pipe is the requesttext