Documentation ¶
Overview ¶
Package multicall provides facilities to build a binary which behaves in different ways depending on how it has been invoked. It integrates directly with cobra, supporting CLI binaries with sub-commands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCobra ¶
AddCobra adds a new multicall name backed by a cobra command. `name` is the command name and `cmd` is the cobra command that will be executed for the specified named command.
func MultiExecute ¶
MultiExecute dispatches execution based on binary name, optionally resolving links.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.