common

package
Version: v0.0.0-...-b9c0c39 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2021 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// FlagPath flag indicates where to store the wallpapers.
	FlagPath = "path"

	// FlagCount flag indicates number of fetching images from source.
	FlagCount = "number"

	// DefaultCount is a default number of fetching images from sources.
	DefaultCount = 10

	// DirectoryPermission used for creating GoSiMac Directory.
	DirectoryPermission = 0755
)

Variables

This section is empty.

Functions

func DefaultPath

func DefaultPath() string

DefaultPath is a default path for storing the wallpapers.

func Run

func Run(s core.Source, cmd *cobra.Command) error

Run runs given source on given path and waits for its results. this used by source specific sub commands.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL