cli

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package cli implements the quick-capture command-line interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(s *store.Store, args []string, lang i18n.Lang) error

Run dispatches a subcommand. args excludes the program name. lang is the resolved UI language for localized output.

func RunSync added in v0.2.0

func RunSync(s *store.Store, args []string, lang i18n.Lang) ([]string, error)

runSync dispatches the sync sub-verbs and returns the lines to print. Network git errors stay English; recognised ones (auth, non-fast-forward) map to localized guidance in mapGitErr.

Types

This section is empty.

Jump to

Keyboard shortcuts

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