seqcli icon indicating copy to clipboard operation
seqcli copied to clipboard

Output from seqcli license show without --json is empty

Open mloskot opened this issue 4 months ago • 6 comments

I have two Seq instances, one with team license

Image

and one with free individual license

Image

and both seqcli license show work as displayed above.

However, if I ommit the --json option, which is optional according to https://datalust.co/docs/command-line-client#license-show

Image

then, the seqcli license show output is empty:

Image Image

It must be due to the fact the LicenseText property is null as in the JSON output above, hence this yields empty output:

https://github.com/datalust/seqcli/blob/e72d3929eee052ca3d814b97bcfbfaadd18db24d/src/SeqCli/Cli/Commands/License/ShowCommand.cs#L46

I'd have expected to see the value of the StatusDescription as the output, at least.

$ seqcli version
2025.2.02443+e75dfa7a687ebb2ca40aad25dc142faba136d1cb

mloskot avatar Sep 30 '25 14:09 mloskot