Files
seriatim/internal/cli/root.go
Eric Rakestraw 6dbb7ab17e
All checks were successful
ci/woodpecker/tag/release Pipeline was successful
Review normalize command architecture
2026-05-09 12:38:06 +00:00

24 lines
532 B
Go

package cli
import (
"github.com/spf13/cobra"
"gitea.maximumdirect.net/eric/seriatim/internal/buildinfo"
)
// NewRootCommand builds the seriatim command tree.
func NewRootCommand() *cobra.Command {
cmd := &cobra.Command{
Use: "seriatim",
Short: "Merge, trim, and normalize transcript artifacts",
Version: buildinfo.Version,
SilenceErrors: true,
SilenceUsage: true,
}
cmd.AddCommand(newMergeCommand())
cmd.AddCommand(newNormalizeCommand())
cmd.AddCommand(newTrimCommand())
return cmd
}