Class ListCommand
List orders.
Inheritance
object
System.CommandLine.Symbol
System.CommandLine.IdentifierSymbol
Sitecore.CH.Cli.Core.Abstractions.Commands.BaseCommand
Sitecore.CH.Cli.Core.Abstractions.Commands.BaseCommand<THandler>Sitecore.CH.Cli.Plugin.Jobs.CommandHandlers.ListCommandHandler
ListCommand
Namespace: SitecoreSitecore.CHSitecore.CH.CliSitecore.CH.Cli.PluginSitecore.CH.Cli.Plugin.JobsCommands
Assembly: Sitecore.CH.Cli.Plugin.Jobs.dll
Syntax
RequestResponse
public class ListCommand : BaseCommand<ListCommandHandler>Remarks
Optional parameters
--filter -fRefines the list of results.--sort -sSorts the list of results.--order -oDefines the sort order. Default value is Desc.--outputSpecifies the output format. Allowed values: Table, Json--endpoint -eSpecifies an alternative endpoint name for the execution of this command.
Global parameters
-? --help -hShow this help message and exit.-v --verbosityEnables verbose logging.
Examples
With filters:
RequestResponse
ch-cli jobs list -f "<value>"If filter value is an integer the results are filter by 'Number of targets', otherwise the results are filtered by Condition or State or Type that contains the entered value. With sorting:
RequestResponse
ch-cli jobs list -o "<property name>"