2021-03-31 16:56:34 +01:00
|
|
|
// Copyright (C) 2021 Storj Labs, Inc.
|
|
|
|
// See LICENSE for copying information.
|
|
|
|
|
|
|
|
package main
|
|
|
|
|
2021-05-26 21:19:29 +01:00
|
|
|
import (
|
|
|
|
"github.com/zeebo/clingy"
|
|
|
|
|
|
|
|
"storj.io/storj/cmd/uplinkng/ulext"
|
|
|
|
)
|
2021-03-31 16:56:34 +01:00
|
|
|
|
|
|
|
type cmdShare struct {
|
2021-05-26 21:19:29 +01:00
|
|
|
ex ulext.External
|
|
|
|
|
|
|
|
access string
|
|
|
|
}
|
|
|
|
|
|
|
|
func newCmdShare(ex ulext.External) *cmdShare {
|
|
|
|
return &cmdShare{ex: ex}
|
2021-03-31 16:56:34 +01:00
|
|
|
}
|
|
|
|
|
2021-05-25 00:11:50 +01:00
|
|
|
func (c *cmdShare) Setup(params clingy.Parameters) {
|
2021-05-26 21:19:29 +01:00
|
|
|
c.access = params.Flag("access", "Which access to use", "").(string)
|
2021-03-31 16:56:34 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
func (c *cmdShare) Execute(ctx clingy.Context) error {
|
|
|
|
return nil
|
|
|
|
}
|