go-devops/cmd/docs/cmd_commands.go
Codex da527c657f chore(go-devops): migrate module path to dappco.re/go/devops
Dropped the embedded "core" segment per RFC, aligning with graduated
repos. Updated go.mod + 11 *.go self-imports across cmd/setup/,
cmd/docs/, cmd/gitcmd/, cmd/dev/, deploy/coolify/. `go build ./...`
passes.

Closes tasks.lthn.sh/view.php?id=753

Co-authored-by: Codex <noreply@openai.com>
2026-04-24 20:10:17 +01:00

25 lines
682 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/devops/locales"
)
func init() {
cli.RegisterCommands(AddDocsCommands)
}
// AddDocsCommands registers the 'docs' command and all subcommands.
func AddDocsCommands(root *cli.Command) {
setDocsI18n()
root.AddCommand(docsCmd)
}