command

package
v0.0.0-...-3f99431 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package command provides the command line interface functionality for lporg.

Index

Constants

This section is empty.

Variables

View Source
var PorgASCIIArt = `` /* 4348-byte string literal not displayed */

PorgASCIIArt is the ascii art for the porg

Functions

func DefaultOrg

func DefaultOrg(c *Config) (err error)

DefaultOrg will organize your launchpad by the app default categories

func LoadConfig

func LoadConfig(c *Config) (err error)

LoadConfig will load your launchpad settings from a config file

func SaveConfig

func SaveConfig(c *Config) (err error)

SaveConfig will save your launchpad settings to a config file

Types

type Config

type Config struct {
	Cmd      string
	File     string
	Cloud    bool
	Backup   bool
	LogLevel int
}

Config is the command config

func (*Config) Verify

func (c *Config) Verify() error

Verify will verify the command config

Jump to

Keyboard shortcuts

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