Files
sesamy-cli/internal/cli/cli.go
Kevin Franklin Kim be5cacd815 docs: add gh docs
2026-05-27 08:52:58 +02:00

24 lines
360 B
Go

package cli
import (
"log/slog"
"github.com/spf13/cobra"
)
// NewCommand returns the fully assembled sesamy command tree.
func NewCommand(l *slog.Logger) *cobra.Command {
root := NewRoot(l)
root.AddCommand(
NewConfig(l),
NewList(l),
NewDiff(l),
NewOpen(l),
NewProvision(l),
NewTags(l),
NewTypeScript(l),
NewVersion(l),
)
return root
}