cli

package
v0.1.68 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GitTag string
)

Functions

func Backup added in v0.1.64

func Backup() error

func BackupHandler added in v0.1.64

func BackupHandler(_ *url.URL) error

func Decode

func Decode() error

func DecodeHandler

func DecodeHandler(u *url.URL) error

func Diff

func Diff() error

func DiffHandler

func DiffHandler(u *url.URL) error

func GetContent

func GetContent() error

func GetContentHandler

func GetContentHandler(u *url.URL) error

func Init

func Init(templatesFS fs.FS, tmplFuncs template.FuncMap)

func MatchContent

func MatchContent() error

func MatchContentHandler

func MatchContentHandler(u *url.URL) error

func Migrate added in v0.1.66

func Migrate() error

func MigrateHandler added in v0.1.66

func MigrateHandler(_ *url.URL) error

func PublishAtom

func PublishAtom(novusUrl string) error

func PublishAtomHandler

func PublishAtomHandler(u *url.URL) error

func Reduce

func Reduce(since int64) error

func ReduceHandler

func ReduceHandler(u *url.URL) error

func ResetChanges

func ResetChanges() error

func ResetChangesHandler

func ResetChangesHandler(u *url.URL) error

func ResetErrors

func ResetErrors() error

func ResetErrorsHandler

func ResetErrorsHandler(u *url.URL) error

func Serve

func Serve(port int, stderr bool) error

func ServeHandler

func ServeHandler(u *url.URL) error

func Sync

func Sync(novusUrl string) error

func SyncHandler

func SyncHandler(u *url.URL) error

func TestSources

func TestSources(resetErrors bool) error

func TestSourcesHandler

func TestSourcesHandler(u *url.URL) error

func VersionHandler

func VersionHandler(_ *url.URL) error

Types

type Changelog

type Changelog struct {
	NumSources int
	Added      map[string][]string
	Removed    map[string][]string
	Errors     map[string]map[string][]string
}

Jump to

Keyboard shortcuts

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