Discover Packages
github.com/lao/botbooter
cli
package
Version:
v0.4.0
Opens a new window with list of versions in this module.
Published: Jul 22, 2026
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package cli exposes the local-CLI constructor and raw-message accessor for
botbooter. Import it when your bot runs on the local CLI; it pulls in no
platform SDK, so a CLI-only binary never compiles discordgo, slack-go or
go-telegram.
New creates a CLI bot backed by the given reader and writer. A nil in or out
defaults to os.Stdin or os.Stdout respectively.
Message is the raw payload of a CLI message: the typed line plus any
tokens that resolved to local-file attachments.
RawData returns the parsed CLI line carried on m, reporting whether m
originated from the CLI adapter.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.