UXSSHPush 1.0.2
dotnet tool install --global UXSSHPush --version 1.0.2
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 UXSSHPush --version 1.0.2
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=UXSSHPush&version=1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package UXSSHPush --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
UXSSHPush
Pushing Folder via SSH to RemoteServer
Usage:
Show this help:
--help
Be verbose during processing:
--verbose
Using specified configfile for processing:
--config="C:\MyRepo\MyConfig.json"
Create Empty Configuration:
--create
Sample:
UXSSHPush --config="C:\MyRepo\MyConfig.json" --create
Sample Configfile:
{
"Hostname": "my.host.sample",
"Port": 22,
"Username": "MyUsername",
"Password": "MySecret",
"PrivateKeyFile": null,
"Remotepath": "/home/user/sample",
"Localpath": "C:\\MyRepo\\bin\\publish\\",
"PreCommand": [
"precommand1",
"precommand2"
],
"PostCommand": [
"postcommand1",
"postcommand2"
],
"Excludefiles": [
"appsettings.json",
"*.txt"
]
}
Add to File Publish Profile
<Target Condition="" Name="CustomActionsAfterPublish" AfterTargets="AfterPublish">
<Exec ConsoleToMSBuild="true" Command="UXSSHPush --config="PathToConfigFile"">
<Output TaskParameter="ConsoleOutput" PropertyName="OutputOfExec" />
</Exec>
<Message Text="@(OutputOfExec)"/>
</Target>
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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.
Version | Downloads | Last updated |
---|---|---|
1.0.2 | 472 | 2/7/2021 |