universal

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package universal provides an umbrella over launchers (console and web). It allowes to choose one launcher by command-line parameters and uses it to parse the rest of arguments and then execute the launcher

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorOnUnparsedArgs

func ErrorOnUnparsedArgs(args []string) error

ErrorOnUnparsedArgs returns an error if there are any unparsed arguments left.

func NewLauncher

func NewLauncher(sublaunchers ...launcher.SubLauncher) launcher.Launcher

NewLauncher returns a new universal launcher. The first element on launcher list will be the default one if there are no arguments specified

Types

This section is empty.

Jump to

Keyboard shortcuts

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