sheets

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdCreate

func NewCmdCreate(c *CommandOptions) *cobra.Command

NewCmdCreate represents the create command

func NewCmdDeleteall

func NewCmdDeleteall(c *CommandOptions) *cobra.Command

NewCmdDeleteall represents the deleteall command

func NewCmdMove

func NewCmdMove(c *CommandOptions) *cobra.Command

NewCmdMove represents the move command

func NewCmdSheets

func NewCmdSheets(c *CommandOptions) *cobra.Command

NewCmdSheets represents the sheets command

func NewCmdSort

func NewCmdSort(c *CommandOptions) *cobra.Command

NewCmdSort represents the sort command

Types

type CmdOut

type CmdOut struct {
	OutBuf, ErrBuf *bytes.Buffer
}

func (CmdOut) Stderr

func (c CmdOut) Stderr() string

func (CmdOut) String

func (c CmdOut) String() string

type CommandOptions

type CommandOptions struct {
	Credential string
	GoSpread   *gospread.GoSpread
}

type CreateOptions

type CreateOptions struct {
	*CommandOptions
	Title         string
	SpreadSheetID string
}

type DeleteOptions

type DeleteOptions struct {
	*CommandOptions
	SpreadSheetID string
	Exclusions    []string
}

type MoveOptions

type MoveOptions struct {
	*CommandOptions
	SpreadSheetID string
	SheetID       int64
	Index         int64
}

type SortOptions

type SortOptions struct {
	*CommandOptions
	SpreadSheetID string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL