mirror of
https://github.com/aditya-K2/gspt.git
synced 2026-01-10 06:18:03 -05:00
16 lines
389 B
Go
16 lines
389 B
Go
package config
|
|
|
|
import (
|
|
"flag"
|
|
)
|
|
|
|
func parseFlags() {
|
|
flag.StringVar(&ConfigPath, "c", ConfigPath,
|
|
"Specify The Directory to check for config.yml file.")
|
|
flag.BoolVar(&Config.HideImage, "hide-image", Config.HideImage,
|
|
"Do not display the cover art image.")
|
|
flag.BoolVar(&Config.RoundedCorners, "rounded-corners", Config.RoundedCorners,
|
|
"Enable Rounded Corners")
|
|
flag.Parse()
|
|
}
|