summaryrefslogtreecommitdiff
path: root/argv.go
blob: 3d0b0c2ff45606c837f6cf00b736aedfc1509b64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2017-2025 WIT.COM Inc. All rights reserved.
// Use of this source code is governed by the GPL 3.0

package main

var argv args

type args struct {
	Gui     *EmptyCmd `arg:"subcommand:gui"                       help:"open the gui"`
	Verbose bool      `arg:"--verbose"                           help:"talk more"`
	Daemon  bool      `arg:"--daemon"           default:"false"  help:"run in daemon mode"`
	UseME   bool      `arg:"--me"                                help:"use /me to connect"`
	Port    int       `arg:"--port"             default:"2522"   help:"port to run on"`
	URL     string    `arg:"--url"                               help:"url to use"`
	Config  string    `arg:"--config"                            help:"config file (default is ~/.config/cloud/gus.text"`
}

type EmptyCmd struct {
}