go-devops/cmd/docs/cmd_commands.go
Snider b19a0dfe25 fix: migrate module paths from forge.lthn.ai to dappco.re
Update all import paths and go.mod deps to dappco.re equivalents.
Fix API compat for core v0.8.0-alpha.1: RegisterTask→RegisterAction,
core.Task→core.Message handler signatures.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-07 12:46:35 +01:00

25 lines
687 B
Go

// Package docs provides documentation management commands for multi-repo workspaces.
//
// Commands:
// - list: Scan repos for README.md, CLAUDE.md, CHANGELOG.md, docs/
// - sync: Copy docs/ files from all repos to core-php/docs/packages/
//
// Works with repos.yaml to discover repositories and sync documentation
// to a central location for unified documentation builds.
package docs
import (
"dappco.re/go/core/cli/pkg/cli"
_ "dappco.re/go/core/devops/locales"
)
func init() {
cli.RegisterCommands(AddDocsCommands)
}
// AddDocsCommands registers the 'docs' command and all subcommands.
func AddDocsCommands(root *cli.Command) {
setDocsI18n()
root.AddCommand(docsCmd)
}