cmdreadfolder

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: MIT Imports: 13 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const EmptyFolder = "This folder is empty"

EmptyFolder is the message of a folder without children.

Variables

This section is empty.

Functions

func Fetch

Fetch reads the folder through GET /api/folders/{id}, which leaves its children out, then them through GET /api/items.

func Output

func Output(folder apiclient.ReaditemResult, rows []apiclient.DomainItem, cursor int, empty string) string

Output renders a folder like `show folder`: the header from the whole folder, then rows (the finder passes its filtered, scrolled window); cursor >= 0 marks that row as selected, empty shows when no row.

func Read

func Read(cobra *cobra.Command, args []string) error

Read shows the folder title and path, then one line per direct child with its uuid; ctrl+e edits it; --json prints it for scripts.

Types

This section is empty.

Jump to

Keyboard shortcuts

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