File: commandlineCV.ref

package info (click to toggle)
easygen 5.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 848 kB
  • sloc: sh: 14; makefile: 13
file content (19 lines) | stat: -rw-r--r-- 734 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

	flags.Bool("debug", false, "Turn on debugging.")
	viper.BindPFlag("debug", flags.Lookup("debug"))

	flags.String("addr", "localhost:5002", "Address of the service.")
	viper.BindPFlag("addr", flags.Lookup("addr"))

	flags.String("smtp-addr", "localhost:25", "Address of the SMTP server.")
	viper.BindPFlag("smtp-addr", flags.Lookup("smtp-addr"))

	flags.String("smtp-user", "", "User for the SMTP server.")
	viper.BindPFlag("smtp-user", flags.Lookup("smtp-user"))

	flags.String("smtp-password", "", "Password for the SMTP server.")
	viper.BindPFlag("smtp-password", flags.Lookup("smtp-password"))

	flags.String("email-from", "noreply@abc.com", "The from email address.")
	viper.BindPFlag("email-from", flags.Lookup("email-from"))