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>
25 lines
682 B
Go
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)
|
|
}
|