args

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2017 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package args is the bridge between command line arguments and wallpaper preferences.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse() (pref.Prefs, error)

Parse command line arguments and returns the preferences to apply or an error if there is any. If the help or version flag is passed, the corresponding message is printed and the program exits. If the arguments don't match one of the usage patterns, the usage message is printed and the program exits.

Types

This section is empty.

Jump to

Keyboard shortcuts

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