Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make --repo flag global #630

Merged
merged 1 commit into from
Jul 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion cmd/boost/deal_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import (
const DealProtocolv120 = "/fil/storage/mk/1.2.0"

var dealFlags = []cli.Flag{
cmd.FlagRepo,
&cli.StringFlag{
Name: "provider",
Usage: "storage provider on-chain address",
Expand Down
1 change: 0 additions & 1 deletion cmd/boost/deal_status_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ var dealStatusCmd = &cli.Command{
Name: "deal-status",
Usage: "",
Flags: []cli.Flag{
cmd.FlagRepo,
&cli.StringFlag{
Name: "provider",
Usage: "storage provider on-chain address",
Expand Down
1 change: 0 additions & 1 deletion cmd/boost/init_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import (
var initCmd = &cli.Command{
Name: "init",
Usage: "Initialise Boost client repo",
Flags: []cli.Flag{cmd.FlagRepo},
Before: before,
Action: func(cctx *cli.Context) error {
ctx := lcli.ReqContext(cctx)
Expand Down
1 change: 1 addition & 0 deletions cmd/boost/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ func main() {
EnableBashCompletion: true,
Version: build.UserVersion(),
Flags: []cli.Flag{
cmd.FlagRepo,
cliutil.FlagVeryVerbose,
cmd.FlagJson,
},
Expand Down
1 change: 0 additions & 1 deletion cmd/boost/provider_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ const (
var providerCmd = &cli.Command{
Name: "provider",
Usage: "Info about Storage Providers",
Flags: []cli.Flag{cmd.FlagRepo},
Subcommands: []*cli.Command{
libp2pInfoCmd,
storageAskCmd,
Expand Down
1 change: 0 additions & 1 deletion cmd/boost/wallet_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import (
var walletCmd = &cli.Command{
Name: "wallet",
Usage: "Manage wallets with Boost",
Flags: []cli.Flag{cmd.FlagRepo},
Subcommands: []*cli.Command{
walletNew,
walletList,
Expand Down