Merge branch 'main' into fix/cmd-required

This commit is contained in:
Yo-An Lin 2022-03-03 19:53:27 +08:00 committed by GitHub
commit f8b257d490
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ func init() {
// go run ./cmd/bbgo account --session=ftx --config=config/bbgo.yaml
var accountCmd = &cobra.Command{
Use: "account [--session=[exchange_name]]",
Use: "account [--session SESSION]",
Short: "show user account details (ex: balance)",
SilenceUsage: true,
PreRunE: cobraInitRequired([]string{