Help us shape the future of Go! Take the 2026 Go Developer Survey

multicall

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package multicall lets a package answer when Orb's binary runs under another name, through a link such as `ln -s orb /usr/local/bin/<name>`.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(name string, command Command)

Register makes Orb run command when started as name.

Types

type Command

type Command func(args []string, stdin io.Reader, stdout, stderr io.Writer) int

Command runs Orb started as a registered name, with its arguments.

func Lookup

func Lookup(name string) Command

Lookup returns the command registered for name, or nil.

Jump to

Keyboard shortcuts

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