Update 58 files from forge.lthn.ai/core/go/pkg/cli to forge.lthn.ai/core/cli/pkg/cli. Also fix pre-existing broken imports: cmd/workspace → go-agentic, cmd/dev → self-reference. Resolves circular dependency that caused qa docblock stub in core/go. Co-Authored-By: Virgil <virgil@lethean.io>
30 lines
662 B
Go
30 lines
662 B
Go
// Package docs provides documentation management commands.
|
|
package docs
|
|
|
|
import (
|
|
"forge.lthn.ai/core/cli/pkg/cli"
|
|
"forge.lthn.ai/core/go/pkg/i18n"
|
|
)
|
|
|
|
// Style and utility aliases from shared
|
|
var (
|
|
repoNameStyle = cli.RepoStyle
|
|
successStyle = cli.SuccessStyle
|
|
errorStyle = cli.ErrorStyle
|
|
dimStyle = cli.DimStyle
|
|
headerStyle = cli.HeaderStyle
|
|
confirm = cli.Confirm
|
|
docsFoundStyle = cli.SuccessStyle
|
|
docsFileStyle = cli.InfoStyle
|
|
)
|
|
|
|
var docsCmd = &cli.Command{
|
|
Use: "docs",
|
|
Short: i18n.T("cmd.docs.short"),
|
|
Long: i18n.T("cmd.docs.long"),
|
|
}
|
|
|
|
func init() {
|
|
docsCmd.AddCommand(docsSyncCmd)
|
|
docsCmd.AddCommand(docsListCmd)
|
|
}
|