Orchard Core's command line interface tool. Use Orchard Core features straight from your CLI.
Orchard Core provides a free, open source, community-focused Content Management System built on the ASP.NET MVC platform.
The Orchard Core CLI will expose the GraphQL mutations that are available on your Orchard Core server as commands that can be executed from the command line.
[TODO] Securely login and logout with our OAuth service.
Using nuget:
dotnet tool install --global orchardcore-cli
Using npm:
npm install -g orchardcore-cli
Using yarn:
yarn global add orchardcore-cli
First, you must configure the Orchard Core instance the CLI will manage. You must point it directly to the graphql endpoint.
$ orchardcore config --host "https://{your-domain}/graphql"
… then, you can view all available commands for the configured instance:
$ orchardcore -h
… or, see help for a specific command:
$ orchardcore createTenant -h
The documentation can be accessed here: https://orchardcore.readthedocs.io/en/latest/
Exchange with our friendly community on our forum