22 lines
473 B
Go
22 lines
473 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 per-speaker transcripts into a chronological transcript",
|
|
Version: buildinfo.Version,
|
|
SilenceErrors: true,
|
|
SilenceUsage: true,
|
|
}
|
|
|
|
cmd.AddCommand(newMergeCommand())
|
|
return cmd
|
|
}
|