uSync.Cli
13.1.0
dotnet tool install --global uSync.Cli --version 13.1.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local uSync.Cli --version 13.1.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=uSync.Cli&version=13.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package uSync.Cli --version 13.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
uSync Command Line.
This is the Command line element of the uSync command line.
To install globally on your computer :
Dotnet tool install uSync -g
or just localls
dotnet tool install uSync.Cli
NOTE :
You will need to install and configure the uSync.Commands package on your umbraco installation for the command line to work!
Running commands
To see the command help
uSync -?
List commands on a remote server
You can use the command line to connect to a server and list the avalible commands
uSync list https://myserver.com/umbraco -user <username> -pass <password>
depending on what is installed - you will see a list of commands like this :
*** uSync Command Line ***
Remote commands available for https://localhost:44382/umbraco :
Info : Information about the Umbraco installation
Ping : Ping a server, returns true when server is ready
Rebuild-DbCache : Rebuilds the database cache (Expensive)
Rebuild-Index : Rebuilds an examine index
Reload-MemCache : Reloads the in-memory cache
Test : A test command, to check things work
uSync-Export : Run an uSync export
uSync-Import : Run an uSync import
uSync-Pull : Pull updates via uSync.Publisher
uSync-Push : Push updates via uSync.Publisher
uSync-Report : Run a uSync report
For specific information on a single command :
> uSync list <command-name> ...
To run a command :
> uSync run <command-name> ...
Run a command on a remote server
to run a command issue the uSync run with the relavant parameters
uSync run [command] -p [parameters] https://my-server/umbraco -user <username> -pass <password>
Add new commands
See the uSync.Commands and uSync.Commands.Core code for examples of how to write addtional commands for the command line.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
10.0 Initial release