pipe

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTaskFromReader

func CreateTaskFromReader(r io.Reader) (string, error)

CreateTaskFromReader reads piped input, parses it into title/description, and creates a new tiki task. Returns the task ID (e.g. "TIKI-ABC123").

func HasPositionalArgs

func HasPositionalArgs(args []string) bool

HasPositionalArgs reports whether args contains any non-flag positional arguments. It skips known flag-value pairs (e.g. --log-level debug) so that only real positional arguments like file paths, "-", "init", etc. are detected.

func IsPipedInput

func IsPipedInput() bool

IsPipedInput reports whether stdin is connected to a pipe or redirected file rather than a terminal (character device).

Types

This section is empty.

Jump to

Keyboard shortcuts

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