langsync

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Overview

Package langsync implements the `norcube langsync ...` command tree. Mirrors the structure of internal/cli/backup — owns the wiring between the CLI's TokenSource (audience: langsync-api) and the generated langsync HTTP client.

Index

Constants

This section is empty.

Variables

View Source
var ErrCancelled = errors.New("cancelled by user")

ErrCancelled is returned by interactive helpers when the user dismisses the prompt. Commands turn it into "Cancelled." rather than a stack trace.

Functions

func NewCmd

func NewCmd() *cobra.Command

NewCmd returns the `langsync` parent command with all subcommands wired up.

Types

This section is empty.

Directories

Path Synopsis
Package projectcfg loads and writes the per-project Langsync config (`.langsync.json`).
Package projectcfg loads and writes the per-project Langsync config (`.langsync.json`).
translations
Package translations reads and writes language files for the sync command.
Package translations reads and writes language files for the sync command.

Jump to

Keyboard shortcuts

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