cli

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package cli contains shared command-line helpers and utilities.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoStorageOptions = errors.New("storage backend does not support options, please specify no (or empty) options")
	ErrMissingDSN       = errors.New("missing required DSN")
)

Functions

This section is empty.

Types

type Storage

type Storage struct {
	Storage StringAccumulator
	DSN     StringAccumulator
	Options StringAccumulator
}

func NewStorage

func NewStorage() *Storage

func (*Storage) Parse

func (s *Storage) Parse(logger log.Logger) (storage.AllStorage, error)

type StringAccumulator

type StringAccumulator []string

func (*StringAccumulator) Set

func (s *StringAccumulator) Set(value string) error

func (*StringAccumulator) String

func (s *StringAccumulator) String() string

Jump to

Keyboard shortcuts

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