...

Package commands

import "github.com/SpectraLogic/ds3_go_sdk/ds3_cli/commands"
Overview
Index

Overview ▾

func RunCommand

func RunCommand(client *ds3.Client, args *Arguments) error

type Arguments

Represents the parsed command line arguments that we may be interested in.

type Arguments struct {
    Endpoint, Proxy      string
    AccessKey, SecretKey string
    Command              string
    Bucket               string
    Key                  string
    KeyPrefix            string
    MaxKeys              int
    Start, End           int
}

func ParseArgs

func ParseArgs() (*Arguments, error)