/orchardcore-cli

Orchard Core’s command line interface tool. Use Orchard Core features straight from your CLI.

Primary LanguageTypeScriptBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Orchard Core CLI

Orchard Core's command line interface tool. Use Orchard Core features straight from your CLI.

npm

Orchard Core provides a free, open source, community-focused Content Management System built on the ASP.NET MVC platform.

Features

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.

Installation

Using nuget:

dotnet tool install --global orchardcore-cli

Using npm:

npm install -g orchardcore-cli

Using yarn:

yarn global add orchardcore-cli

Usage

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

Further Support

The documentation can be accessed here: https://orchardcore.readthedocs.io/en/latest/

Exchange with our friendly community on our forum