bookmarks

package
v8.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2019 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertBookmarks

func ConvertBookmarks(cmd *cobra.Command, args []string)

ConvertBookmarks converts a old bookmarks file to a new one .

func DeleteBookmark

func DeleteBookmark(cmd *cobra.Command, args []string)

DeleteBookmark deletes a bookmark

func InitCLI

func InitCLI() *cobra.Command

InitCLI setups the bookmarks module

func ListBookmarks

func ListBookmarks(cmd *cobra.Command, args []string)

ListBookmarks lists all bookmarks

func ReadBookmark

func ReadBookmark(cmd *cobra.Command, args []string)

ReadBookmark shows a bookmark

func WriteBookmark

func WriteBookmark(cmd *cobra.Command, args []string)

WriteBookmark saves a bookmark

Types

type Bookmark

type Bookmark struct {
	Name     string   `json:"name"`
	Bookmark string   `json:"bookmark"`
	RootPath string   `json:"rootPath"`
	Paths    []string `json:"paths"`
	Group    string   `json:"group"`
}

Bookmark represent a saved bookmark

Jump to

Keyboard shortcuts

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