mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-22 02:48:59 +00:00
b71a930bfc
`syncthing cli` subcommand was using urfave/cli as the command parser. This PR replace it with kong, which the main command uses. Some help texts and error message format are changed. Other than that, all the command usage and logic remains unchanged. There's only one place which still uses urfave/cli, which is `syncthing cli config`, because it uses some magic to dynamically build commands from struct reflects. I used kong's `passthrough:""` tag to pass any argument following `syncthing cli config` to urfave/cli parser. This PR also fixes #9041 --------- Co-authored-by: Jakob Borg <jakob@kastelo.net> |
||
---|---|---|
.. | ||
stcompdirs | ||
stcrashreceiver | ||
stdisco | ||
stdiscosrv | ||
stevents | ||
stfileinfo | ||
stfinddevice | ||
stfindignored | ||
stgenfiles | ||
strelaypoolsrv | ||
strelaysrv | ||
stsigtool | ||
stupgrades | ||
stvanity | ||
stwatchfile | ||
syncthing | ||
ursrv | ||
.gitignore |