parser

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageCatalog

type MessageCatalog interface {
	Get(message messages.MessageKey) string
}

type Parser

type Parser struct {
	// contains filtered or unexported fields
}

func New

func New(messageCatalog MessageCatalog) *Parser

func (*Parser) Parse

func (p *Parser) Parse(args []string) (SpecifiedArguments, messages.Error)

func (*Parser) Usage

func (p *Parser) Usage() string

type SpecifiedArguments

type SpecifiedArguments struct {
	VersionMode                      bool
	HelpMode                         bool
	DisableTelemetry                 bool
	UseSingleMATLABSession           bool
	LogLevel                         entities.LogLevel
	PreferredLocalMATLABRoot         string
	PreferredMATLABStartingDirectory string
	BaseDirectory                    string
	WatchdogMode                     bool
	ServerInstanceID                 string
	InitializeMATLABOnStartup        bool
	DisplayMode                      entities.DisplayMode
}

Jump to

Keyboard shortcuts

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