mirror of
https://github.com/TencentCloud/tencentmeeting-cli.git
synced 2026-09-14 20:46:40 +08:00
39 lines
835 B
Go
39 lines
835 B
Go
package record
|
|
|
|
import (
|
|
"tmeet/internal"
|
|
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
// NewBaseCmd is the record-related command.
|
|
func NewBaseCmd(tmeet *internal.Tmeet) *cobra.Command {
|
|
cmd := &cobra.Command{
|
|
Use: "record",
|
|
Short: "record related commands",
|
|
}
|
|
|
|
cmd.AddCommand(
|
|
// List records
|
|
newListCmd(tmeet),
|
|
// Get record download address
|
|
newAddressCmd(tmeet),
|
|
// Search records
|
|
newSearchCmd(tmeet),
|
|
// Get smart minutes
|
|
newSmartMinutesCmd(tmeet),
|
|
// Get transcript details
|
|
newTranscriptGetCmd(tmeet),
|
|
// Get transcript paragraphs
|
|
newTranscriptParagraphsCmd(tmeet),
|
|
// Search transcript content
|
|
newTranscriptSearchCmd(tmeet),
|
|
// Preview record permission application
|
|
newPermissionApplyPrepareCmd(tmeet),
|
|
// Commit record permission application
|
|
newPermissionApplyCommitCmd(tmeet),
|
|
)
|
|
|
|
return cmd
|
|
}
|