storj/cmd/uplinkng/cmd_rb.go
Jeff Wendling a1bf9ab6de cmd/uplinkng: initial commit with skeleton
Change-Id: I764618cc60c46882955e9b08b72b3c162aa4929f
2021-05-18 10:04:44 -04:00

33 lines
557 B
Go

// Copyright (C) 2021 Storj Labs, Inc.
// See LICENSE for copying information.
package main
import (
"strconv"
"github.com/zeebo/clingy"
)
type cmdRb struct {
projectProvider
force bool
name string
}
func (c *cmdRb) Setup(a clingy.Arguments, f clingy.Flags) {
c.projectProvider.Setup(a, f)
c.force = f.New("force", "Deletes any objects in bucket first", false,
clingy.Transform(strconv.ParseBool),
).(bool)
c.name = a.New("name", "Bucket name (sj://BUCKET)").(string)
}
func (c *cmdRb) Execute(ctx clingy.Context) error {
return nil
}