mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
remove legacy cmd flags
This commit is contained in:
parent
45876968d9
commit
503df57e72
|
@ -2,7 +2,6 @@ package cmd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"runtime"
|
|
||||||
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
|
@ -12,9 +11,6 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
BuildCmd.Flags().StringP("output", "o", "", "binary output")
|
|
||||||
BuildCmd.Flags().String("os", runtime.GOOS, "GOOS")
|
|
||||||
BuildCmd.Flags().String("arch", runtime.GOARCH, "GOARCH")
|
|
||||||
BuildCmd.Flags().String("config", "", "config file")
|
BuildCmd.Flags().String("config", "", "config file")
|
||||||
RootCmd.AddCommand(BuildCmd)
|
RootCmd.AddCommand(BuildCmd)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user