chore(cli): replace clibase with external coder/serpent (#12252)

This commit is contained in:
Ammar Bandukwala
2024-03-15 11:24:38 -05:00
committed by GitHub
parent bed2545636
commit 496232446d
185 changed files with 3770 additions and 7221 deletions

View File

@ -7,9 +7,9 @@ import (
"sort"
"strings"
"github.com/coder/coder/v2/cli/clibase"
"github.com/coder/coder/v2/enterprise/cli"
"github.com/coder/flog"
"github.com/coder/serpent"
)
// route is an individual page object in the docs manifest.json.
@ -83,7 +83,7 @@ func main() {
root := (&cli.RootCmd{})
// wroteMap indexes file paths to commands.
wroteMap := make(map[string]*clibase.Cmd)
wroteMap := make(map[string]*serpent.Cmd)
var (
docsDir = filepath.Join(workdir, "docs")