sftpgo-mirror/cmd
Márk Sági-Kazár 2a9ed0abca
Accept a config file path instead of a config name
Config name is a Viper concept used for searching a specific file
in various paths with various extensions.

Making it configurable is usually not a useful feature
as users mostly want to define a full or relative path
to a config file.

This change replaces config name with config file.
2020-12-03 16:23:33 +01:00
..
gen.go cmd: add shell completion and man pages generators 2020-07-08 23:21:33 +02:00
gencompletion.go update cobra to v1.1.1 2020-10-18 21:52:42 +02:00
genman.go document FreeBSD support 2020-07-10 19:20:37 +02:00
initprovider.go data provider: add a setting to prevent auto-update 2020-10-05 19:42:33 +02:00
install_windows.go Accept a config file path instead of a config name 2020-12-03 16:23:33 +01:00
portable.go Accept a config file path instead of a config name 2020-12-03 16:23:33 +01:00
portable_disabled.go add build tag to disable metrics 2020-06-19 17:08:51 +02:00
reload_windows.go Allow to rotate logs on demand 2020-06-22 19:11:53 +02:00
revertprovider.go add revertprovider subcommand 2020-11-26 22:08:33 +01:00
root.go Accept a config file path instead of a config name 2020-12-03 16:23:33 +01:00
rotatelogs_windows.go improve help strings formatting 2020-07-09 18:58:22 +02:00
serve.go Add support for loading users/folders on startup 2020-10-20 18:42:37 +02:00
service_windows.go improve help strings formatting 2020-07-09 18:58:22 +02:00
start_windows.go return exit code 1 on error 2020-06-20 14:30:46 +02:00
startsubsys.go Accept a config file path instead of a config name 2020-12-03 16:23:33 +01:00
status_windows.go return exit code 1 on error 2020-06-20 14:30:46 +02:00
stop_windows.go return exit code 1 on error 2020-06-20 14:30:46 +02:00
uninstall_windows.go return exit code 1 on error 2020-06-20 14:30:46 +02:00