1. ListCommand

Class ListCommand

Version:
日本語翻訳に関する免責事項

このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。

List orders.

Inheritance
System.Object
System.CommandLine.Symbol
System.CommandLine.NamedSymbol
System.CommandLine.Command
Sitecore.CH.Cli.Core.Abstractions.Commands.BaseCommand<Sitecore.CH.Cli.Plugin.Jobs.CommandHandlers.ListCommandHandler>
ListCommand
Namespace: Sitecore.CH.Cli.Plugin.Jobs.Commands
Assembly: Sitecore.CH.Cli.Plugin.Jobs.dll
Syntax
public class ListCommand : BaseCommand<ListCommandHandler>, ICommand, IIdentifierSymbol, ISymbol, ISuggestionSource, IEnumerable<Symbol>, IEnumerable
Remarks

Optional parameters

  • --filter -f Refines the list of results.
  • --sort -s Sorts the list of results.
  • --order -o Defines the sort order. Default value is Desc.
  • --output Specifies the output format. Allowed values: Table, Json
  • --endpoint -e Specifies an alternative endpoint name for the execution of this command.

Global parameters

  • -? --help -h Show this help message and exit.
  • -v --verbosity Enables verbose logging.
Examples

With filters:

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:

ch-cli jobs list -o "<property name>"
この記事を改善するための提案がある場合は、 お知らせください!