bbgo_origin/pkg/cmd/cmdutil/flags.go

12 lines
371 B
Go
Raw Permalink Normal View History

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")
}