Class PackageCreateCommand
Creates a package from a serialization folder containing all resource types.
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.Serialization.CommandHandlers.PackageCreateCommandHandler
PackageCreateCommand
Namespace: SitecoreSitecore.CHSitecore.CH.CliSitecore.CH.Cli.PluginSitecore.CH.Cli.Plugin.SerializationCommands
Assembly: Sitecore.CH.Cli.Plugin.Serialization.dll
Syntax
RequestResponse
public class PackageCreateCommand : BaseCommand<PackageCreateCommandHandler>Remarks
Required parameters
--name -nName of the package.
Optional parameters
--endpoint -eSpecifies an alternative endpoint name for the execution of this command.--folder -fSpecifies the a working directory other than the current folder.
Global parameters
-? --help -hShow this help message and exit.-v --verbosityEnables verbose logging.
Examples
Create a package with the specified name:
RequestResponse
ch-cli serialization package create --name "<package name>"Create a package with the specified name, using the specified working directory:
RequestResponse
ch-cli serialization package create --name "<package name>" --folder "<local path>"