add SMTP support

it will be used in future update to add email sending capabilities
This commit is contained in:
Nicola Murino
2021-09-26 20:25:37 +02:00
parent 0661876e99
commit da0ccc6426
11 changed files with 302 additions and 12 deletions

View File

@@ -71,6 +71,7 @@ var (
)
func init() {
rootCmd.CompletionOptions.DisableDefaultCmd = true
rootCmd.Flags().BoolP("version", "v", false, "")
rootCmd.Version = version.GetAsString()
rootCmd.SetVersionTemplate(`{{printf "SFTPGo "}}{{printf "%s" .Version}}