docs: add a name mnemonic to every module README and the root modules table
This commit is contained in:
@@ -4,6 +4,8 @@ Declarative console commands for the `summer` tool and application binaries, ada
|
||||
|
||||
`import "git.golem15.com/golem15/summercms/modules/bonfire"`
|
||||
|
||||
**Name:** The evening fire where everyone gathers; the command line is where you sit down and fire off commands.
|
||||
|
||||
## Overview
|
||||
|
||||
bonfire is the console layer of SummerCMS. Plugins and framework modules describe commands as plain `bonfire.Command` values (name, flags, arguments and a run function), and `bonfire.NewRoot` turns a slice of them into a Cobra root command. Commands never touch Cobra directly: they read arguments through `bonfire.Input` and write through `bonfire.Output`, which also provides tables, spinners, progress bars and interactive prompts. It is the counterpart of WinterCMS's artisan console commands (`registerConsoleCommand` and Laravel's `Illuminate\Console\Command` output helpers).
|
||||
|
||||
Reference in New Issue
Block a user