package
Version:
v0.0.0-...-7cb85a9
Opens a new window with list of versions in this module.
Published: Aug 15, 2024
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package cli implements a CLI handler that I shamelessly ripped off from HortBot.
Default contains default env arguments.
Run parses arguments then runs the given command.
Command represents a CLI command that can be run.
type Common struct {
Debug bool `env:"BOT2_DEBUG"`
}
Common contains args found in every command.
IsDebug returns if we're running in debug mode.
Source Files
¶
Directories
¶
args
|
|
|
|
|
|
|
|
subcommands
|
|
bot
Package bot implements the main command for the bot.
|
Package bot implements the main command for the bot. |
web
Package web implements the main command for the website.
|
Package web implements the main command for the website. |
Click to show internal directories.
Click to hide internal directories.