cmd

package
v0.0.0-...-dd95ca6 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package cmd contains the different CLI commands for interactions in pkb.

Index

Constants

This section is empty.

Variables

View Source
var Version string

Version is the CLI version set via linker flags at build time.

Functions

func CreateCopy

func CreateCopy() *cobra.Command

CreateCopy creates the new command "copy" used to select a note to copy to your system clipboard.

func CreateEdit

func CreateEdit() *cobra.Command

CreateEdit creates the new command "edit" used to open your editor to edit existing notes.

func CreateNew

func CreateNew() *cobra.Command

CreateNew creates the new command "new" used to create new notes.

func Execute

func Execute() error

Execute executes the root command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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