Files
sesamy-cli/internal/cli/cli.go
Kevin Franklin Kim a9fbb604c1 chore: update files
2026-06-18 22:04:30 +02:00

25 lines
361 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
}