Usage:nsc<command> [options]Options:-h,--helpoutputusageinformation-h,--configPathLoadaconfigurationfilefromspecificlocationpathCommands:initInitaSitecoreProjectbuildBuildprojectsolutionnugetNugetcommandspublishPublishcontent (Foundation, Feature,Project)restoreRestoreallNuGetPackagespsRunapowershellscriptrunRunnpmscriptlocatedon<rootDir>configuredinyour.nscrcfileunicornPerformaUnicornsynchronisationinspectDisplayvaluesfromresolvedconfigurationrunnsc [command] --help for usage of a specific command.
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.
Option
Default value
Description
--log-command, -l
false
Logs the msbuild command that will be executed.
--targets, -t <list>
Build
Specify Build Targets.
--configuration, -c <config>
Debug
Specify Build Configuration (Release or Debug).
--solution-platform, -p <plateform>
AnyCPU
Specify the Solution Platform (e.g. x86, x64, AnyCPU).