@node-sitecore/cli
Installation
Usage
Load custom configuration file
::: tip CLI command accept a --configPath
option, available for all subcommand, to configure the location path of your configuration file. :::
Build command options
Build your solution depending on your configuration or on the given options.
::: tip It also possible to give additional arguments to the msBuild command directly. Just use --
after the command line. :::
With specific paths
From .nscrc
::: tip buildPaths
support glob pattern ! :::
Configuration example:
From args
::: tip --paths
option support glob pattern ! :::
Publish Foundation/Feature/Project only
Publish command options
By default build the solution (eg. Base.sln
) and publish it depending on your configuration or on the given options.
::: tip It also possible to give additional arguments to the msBuild command directly. Just use --
after the command line. :::
With specific paths
From .nscrc
::: tip publishPaths
support glob pattern ! :::
Configuration example:
From args
::: tip --paths
option support glob pattern ! :::
Publish Foundation/Feature/Project only
::: tip Available options: Foundation
, Feature
or Project
:::
Last updated