|
Go to Project to install Sitecore CLI
|
cd <project folder>
|
|
To add dotnet tool-manifest
|
dotnet new tool-manifest
|
|
To Install Sitecore CLI
|
dotnet tool install Sitecore.CLI --add-source https://sitecore.myget.org/F/sc-packages/api/v3/index.json
|
|
To install publishing plugin
|
dotnet sitecore plugin add -n Sitecore.DevEx.Extensibility.Publishing
|
|
To install Serialization plugin
|
dotnet sitecore plugin add -n Sitecore.DevEx.Extensibility.Serialization
|
|
Sitecore package help commands
|
dotnet sitecore ser pkg install --help
|
|
Sitecore login help commands
|
dotnet sitecore login --help
|
|
Sitecore Instance Login using CLI
|
dotnet sitecore login --cm https://yoursitecoreinstance.localurl --auth https://yourscidentityserver.localurl --allow-write true
|
|
Sitecore help commands
|
dotnet sitecore -h
|
|
To initialize new project
|
dotnet sitecore init
|
|
Sitecore to Repository serialize commands
|
dotnet sitecore ser pull
|
|
Repository to Sitecore serialize commands
|
dotnet sitecore ser push
|
|
To compares the content items of two Sitecore instances
|
dotnet sitecore ser diff
|
|
To explains whether a content item path is included and why
|
dotnet sitecore ser explain
|
|
To display serialization configuration information
|
dotnet sitecore ser info
|
|
To lists serialization package commands
|
dotnet sitecore ser package
|
|
To checks serialized content items for validity
|
dotnet sitecore ser validate
|
|
Auto serialize Sitecore item command
|
dotnet sitecore ser watch
|
|
To create Sitecore package
|
dotnet sitecore ser pkg create -o <name of package>
|
|
To install Sitecore package
|
dotnet sitecore ser pkg install -f <name of package>.itempackage --client-id <your client id> --client-secret <your client secret> --cm <your content management host> --auth <your identity host>
|
|
Sitecore publishing help command
|
dotnet sitecore publish --help
|
|
Publishes Sitecore items
|
dotnet sitecore publish -c Prototype/
|
|
Publishes Sitecore items to the environment
|
dotnet sitecore publish -n devEnv
|
|
Publishes Sitecore items for en-US language
|
dotnet sitecore publish -l en-US
|
|
Publishes item with given path
|
dotnet sitecore publish -p '/sitecore/content/Home/Item1'
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.