![]() |
VOOZH | about |
dotnet add package uSync.Commands --version 13.1.0
NuGet\Install-Package uSync.Commands -Version 13.1.0
<PackageReference Include="uSync.Commands" Version="13.1.0" />
<PackageVersion Include="uSync.Commands" Version="13.1.0" />Directory.Packages.props
<PackageReference Include="uSync.Commands" />Project file
paket add uSync.Commands --version 13.1.0
#r "nuget: uSync.Commands, 13.1.0"
#:package uSync.Commands@13.1.0
#addin nuget:?package=uSync.Commands&version=13.1.0Install as a Cake Addin
#tool nuget:?package=uSync.Commands&version=13.1.0Install as a Cake Tool
The uSync specific command library for the uSync command line.
This package includes the core uSync command line libraries and specific ones for uSync (e.g uSync-Import).
dotnet add package uSync.Commands
Included in this package are :
uSync-Export
uSync-Import
uSync-Report
| Option | Details |
|---|---|
| Set | Handler set to use (default is 'default') |
| Groups | Handler groups to use (default is the current UIEnabledGroups) |
| Folder | Folder to run command agaisnt (default is /uSync/v9) |
| Verbose | True if you want to get the full results json back not a summary |
Run a usync import against the usync folder (as if you have pressed the import everything button in the dashboard)
uSync run usync-import [url] -user <user> -pass <pass>
uSync run usync-import -p groups=settings [url] -user <user> -pass <pass>
uSync run usync-import -p folder=uSync\content [url] -user <user> -pass <pass>
By default the command line library is disabled for your site, to enable it you need to add values to the appsettings.json file for your site.
"uSync": {
"Commands": {
"Enabled": "hmac,basic",
"key": "HMAC-KEY-VALUE",
"UserId" : -1
}
}
Turns on the Authentication methods for the command line - acceptible values are hmac (key based) and basic (username and password based)
The security key to use when using hmac (key based) authentication, this is the key that you would then need to use on the command line when running remote commands against your site.
usync run [command] https://you-site.com/umbraco -k <KEY-VALUE-HERE>
When using Key based authentication Umbraco will authenticate the commands against the default user (-1) unless you set the UserId value - this will then set the permissions for the user to be the same as for the user id you set.
By default the command line library is disabled for your site, to enable it you need to add values to the appsettings.json file for your site.
"uSync": {
"Commands": {
"Enabled": "hmac,basic",
"key": "HMAC-KEY-VALUE",
"UserId" : -1
}
}
Turns on the Authentication methods for the command line - acceptible values are hmac (key based) and basic (username and password based)
The security key to use when using hmac (key based) authentication, this is the key that you would then need to use on the command line when running remote commands against your site.
usync run [command] https://you-site.com/umbraco -k <KEY-VALUE-HERE>
When using Key based authentication Umbraco will authenticate the commands against the default user (-1) unless you set the UserId value - this will then set the permissions for the user to be the same as for the user id you set.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
10.0 Initial release