diff options
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 19 | 
1 files changed, 19 insertions, 0 deletions
@@ -0,0 +1,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 { +}  | 
