sync

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdSync

func NewCmdSync(props *props.Props) *setup.Command

func RunSync

func RunSync(ctx context.Context, p *props.Props, opts *SyncOptions, _ []string) error

RunSync pushes the local pronunciation.yaml rules to the voice provider's pronunciation dictionary (spec 0022 R-GEN-35). The dictionary is --dict, else config `voice.pronunciation`; with neither, a new dictionary is created and its id is printed. Rules are upserted (a re-declared word replaces its rule); removals are not pruned.

Types

type SyncOptions

type SyncOptions struct {
	File  string
	Dict  string
	Name  string
	Theme string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL