2026-04-26 13:03:07 -05:00
|
|
|
package cli
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"github.com/spf13/cobra"
|
2026-04-27 21:48:04 -05:00
|
|
|
|
|
|
|
|
"gitea.maximumdirect.net/eric/seriatim/internal/buildinfo"
|
2026-04-26 13:03:07 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// NewRootCommand builds the seriatim command tree.
|
|
|
|
|
func NewRootCommand() *cobra.Command {
|
|
|
|
|
cmd := &cobra.Command{
|
|
|
|
|
Use: "seriatim",
|
2026-05-09 12:38:06 +00:00
|
|
|
Short: "Merge, trim, and normalize transcript artifacts",
|
2026-04-27 21:48:04 -05:00
|
|
|
Version: buildinfo.Version,
|
2026-04-26 13:03:07 -05:00
|
|
|
SilenceErrors: true,
|
|
|
|
|
SilenceUsage: true,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
cmd.AddCommand(newMergeCommand())
|
2026-05-09 12:26:47 +00:00
|
|
|
cmd.AddCommand(newNormalizeCommand())
|
2026-05-08 14:53:59 +00:00
|
|
|
cmd.AddCommand(newTrimCommand())
|
2026-04-26 13:03:07 -05:00
|
|
|
return cmd
|
|
|
|
|
}
|