Versions in this module Expand all Collapse all v0 v0.1.1 Jun 10, 2021 v0.1.0 Jun 10, 2021 Changes in this version + var ErrMissingArgs = errors.New("you need to provide args") + var ErrPutioTokenInvalid = errors.New("invalid put.io token") + var ErrPutioTokenRequired = errors.New("please provide put.io token via flags or PUTIO_TOKEN env-var") + var FlagColorEnabled *bool + var FlagListShowDownloadURL *bool + var FlagListShowOnlyID *bool + var FlagSetDelete *flag.FlagSet + var FlagSetList *flag.FlagSet + var FlagSetMove *flag.FlagSet + var FlagSetUpload *flag.FlagSet + var FlagToken *string + var FlagVersion *bool + type Application struct + Client *putio.Client + In io.Reader + Out io.Writer + func NewApplication() *Application + func (a *Application) CommandDelete() error + func (a *Application) CommandList() error + func (a *Application) CommandMove() error + func (a *Application) CommandUpload() error + func (a *Application) Run() error + func (a *Application) Validate() error