It would be helpful to be able to add custom commands to either CommandLine or Triggers (not sure on the difference here) so that we can leverage the authentication protocol when performing remote commands. My use case is to (automatically) download the exported files after triggering a remote export. The solution now is to expose an endpoint on the remote server.
If you implement something that inherits from SyncCommandBase (Which implements ISyncCommand) the the command side will pick it up and you will be able to see if from the command line.
Examples in the core do things like rebuild indexes, return version numbers
Add custom commands to CommandLine/Triggers
Hi,
It would be helpful to be able to add custom commands to either CommandLine or Triggers (not sure on the difference here) so that we can leverage the authentication protocol when performing remote commands. My use case is to (automatically) download the exported files after triggering a remote export. The solution now is to expose an endpoint on the remote server.
Yes,
If you implement something that inherits from SyncCommandBase (Which implements ISyncCommand) the the command side will pick it up and you will be able to see if from the command line.
Examples in the core do things like rebuild indexes, return version numbers
https://github.com/Jumoo/uSync.CommandLine/tree/v11%2Fmain/uSync.Commands.Server%2FCommands
Great thanks will check it out!
is working on a reply...