cmd: remove ftx options

This commit is contained in:
c9s 2023-06-27 16:17:00 +08:00
parent 6741f8b22c
commit e8fe8082cc
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -183,9 +183,6 @@ func init() {
RootCmd.PersistentFlags().String("max-api-key", "", "max api key") RootCmd.PersistentFlags().String("max-api-key", "", "max api key")
RootCmd.PersistentFlags().String("max-api-secret", "", "max api secret") RootCmd.PersistentFlags().String("max-api-secret", "", "max api secret")
RootCmd.PersistentFlags().String("ftx-api-key", "", "ftx api key")
RootCmd.PersistentFlags().String("ftx-api-secret", "", "ftx api secret")
RootCmd.PersistentFlags().String("ftx-subaccount", "", "subaccount name. Specify it if the credential is for subaccount.")
RootCmd.PersistentFlags().String("cpu-profile", "", "cpu profile") RootCmd.PersistentFlags().String("cpu-profile", "", "cpu profile")
viper.SetEnvKeyReplacer(strings.NewReplacer("-", "_")) viper.SetEnvKeyReplacer(strings.NewReplacer("-", "_"))