46a3242ed4
Change-Id: I9c251028d9f72572f4d42815de31d44517cd5525
27 lines
544 B
Go
27 lines
544 B
Go
// Copyright (C) 2021 Storj Labs, Inc.
|
|
// See LICENSE for copying information.
|
|
|
|
package main
|
|
|
|
import (
|
|
"github.com/zeebo/clingy"
|
|
)
|
|
|
|
type cmdMetaGet struct {
|
|
projectProvider
|
|
|
|
location string
|
|
entry *string
|
|
}
|
|
|
|
func (c *cmdMetaGet) Setup(a clingy.Arguments, f clingy.Flags) {
|
|
c.projectProvider.Setup(a, f)
|
|
|
|
c.location = a.New("location", "Location of object (sj://BUCKET/KEY)").(string)
|
|
c.entry = a.New("entry", "Metadata entry to get", clingy.Optional).(*string)
|
|
}
|
|
|
|
func (c *cmdMetaGet) Execute(ctx clingy.Context) error {
|
|
return nil
|
|
}
|