1. ExportPackageCommand

Class ExportPackageCommand

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

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

Exports a package from the selected Content Hub instance.

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

Required parameters

  • --type -t Specifies the entity type for the export. Multiple selections are possible.

Optional parameters

  • --modified-since -m If set, only entities modified after the specified date will be included in the export.
  • --include-system-owned -i Indicates whether system-owned entities will be exported.
  • --wait -w Determines whether to wait for the export to complete or not.
  • --out -o Specifies the output file name.
  • --order-id Specifies whether the order ID is returned or not.

Global parameters

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

Export a single type:

ch-cli system export --type EntityDefinitions

Export multiple types and save the resulting package:

ch-cli system export --type EntityDefinitions --type Settings --out "<local path>"
この記事を改善するための提案がある場合は、 お知らせください!