A self-hosted dashboard that puts all your feeds in one place
Go aggregatordashboarddockerfeed-readergohomelabhomepagemonitoringredditrssrss-readerself-hostedstartpageyoutube
Fix mountpoint:info command
Svilen Markova98fdf00d12b
diff --git a/internal/glance/cli.go b/internal/glance/cli.goindex 5544b8b..bacdcac 100644--- a/internal/glance/cli.go+++ b/internal/glance/cli.go@@ -70,29 +70,27 @@ func parseCliOptions() (*cliOptions, error) {if len(args) == 0 {intent = cliIntentServe} else if len(args) == 1 {- if args[0] == "config:validate" {+ switch args[0] {+ case "config:validate":intent = cliIntentConfigValidate- } else if args[0] == "config:print" {+ case "config:print":intent = cliIntentConfigPrint- } else if args[0] == "sensors:print" {+ case "sensors:print":intent = cliIntentSensorsPrint- } else if args[0] == "diagnose" {+ case "diagnose":intent = cliIntentDiagnose- } else if args[0] == "secret:make" {+ case "secret:make":intent = cliIntentSecretMake- } else {+ default:return nil, unknownCommandErr}} else if len(args) == 2 {- if args[0] == "password:hash" {+ switch args[0] {+ case "password:hash":intent = cliIntentPasswordHash- } else {- return nil, unknownCommandErr- }- } else if len(args) == 2 {- if args[0] == "mountpoint:info" {+ case "mountpoint:info":intent = cliIntentMountpointInfo- } else {+ default:return nil, unknownCommandErr}} else {