parser

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func First added in v0.2.0

func First(args []string) string

First always returns the first argument in the provided list if it exists; otherwise it reads it from stdin. Enables chaining of commands via UNIX pipes.

func TraverseNode

func TraverseNode(rootDir string, labels []string, node netscape.Folder) error

TraverseNode creates files with appropriate labels based on the folder structure from the node. If there are invalid label names, they will be formatted according to label.Format function. Duplicate bookmarks are ignored by default and only the first occurrence is added in the file with the same label structure.

Types

This section is empty.

Jump to

Keyboard shortcuts

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