mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-24 07:45:15 +00:00
12 lines
371 B
Go
12 lines
371 B
Go
package cmdutil
|
|
|
|
import "github.com/spf13/pflag"
|
|
|
|
// PersistentFlags defines the flags for environments
|
|
func PersistentFlags(flags *pflag.FlagSet) {
|
|
flags.String("binance-api-key", "", "binance api key")
|
|
flags.String("binance-api-secret", "", "binance api secret")
|
|
flags.String("max-api-key", "", "max api key")
|
|
flags.String("max-api-secret", "", "max api secret")
|
|
}
|