1. FetchCommand

Class FetchCommand

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

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

Fetch an order.

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

Required parameters

  • --id Specifies the order id

Optional parameters

  • --wait -w Waits until the order is ready for download.
  • --out -o Waits until the order is ready for download and stores the file on disk in the specified location.
  • --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

Outputs the order's download url if the order is ready for download.

ch-cli orders fetch --id "<order id>"

With wait option, outputs the order's download url.

ch-cli orders fetch --id "<order id>" --wait

With out option, downloads the order to the specific location.

ch-cli orders fetch --id "<order id>" --out

With wait and out option, downloads the order to the specific location.

ch-cli orders fetch --id "<order id>" --wait --out
この記事を改善するための提案がある場合は、 お知らせください!