Update module path from forge.lthn.ai/core/go-devops to dappco.re/go/core/devops. Migrate all imports for packages that have already moved to dappco.re: - go-io -> dappco.re/go/core/io - go-log -> dappco.re/go/core/log - go-scm -> dappco.re/go/core/scm - go-i18n -> dappco.re/go/core/i18n - agent -> dappco.re/go/agent Packages not yet migrated (cli, go-container) left as-is. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
25 lines
688 B
Go
25 lines
688 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 (
|
|
"forge.lthn.ai/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)
|
|
}
|