Class FetchCommand
Fetch an order.
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.Orders.CommandHandlers.FetchCommandHandler
FetchCommand
Namespace: SitecoreSitecore.CHSitecore.CH.CliSitecore.CH.Cli.PluginSitecore.CH.Cli.Plugin.OrdersCommands
Assembly: Sitecore.CH.Cli.Plugin.Orders.dll
Syntax
RequestResponse
public class FetchCommand : BaseCommand<FetchCommandHandler>Remarks
Required parameters
--idSpecifies the order id
Optional parameters
--wait -wWaits until the order is ready for download.--out -oWaits until the order is ready for download and stores the file on disk in the specified location.--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
Outputs the order's download url if the order is ready for download.
RequestResponse
ch-cli orders fetch --id "<order id>"With wait option, outputs the order's download url.
RequestResponse
ch-cli orders fetch --id "<order id>" --waitWith out option, downloads the order to the specific location.
RequestResponse
ch-cli orders fetch --id "<order id>" --outWith wait and out option, downloads the order to the specific location.
RequestResponse
ch-cli orders fetch --id "<order id>" --wait --out