Help us shape the future of Go! Take the 2026 Go Developer Survey

flags

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Help       = flag.Bool("help", false, "Print this message")
	Type       = flag.String("type", "txt", "Specifies the file type, by default txt")
	Delete     = flag.String("del", "", "Deletes a note by specifying its id or name, e.g. gonotes --del 12/note-name")
	Open       = flag.String("open", "", "Edit a note clarifying its name, i.e. gonotes --open [note-name] (you can also put its id)")
	Temporal   = flag.Bool("tmp", false, "The note will be saved in /tmp, i.e., it will be deleted on reboot.")
	Config     = flag.Bool("config", false, "It is used to clarify that you want to edit a configuration.")
	SetDefault = flag.String("set-editor", "nano", "Set the default editor.")
	New        = flag.String("new", "", "Create a new note, usage: gonotes --new [note name], the type of the file is specified with --type")
	List       = flag.Bool("list", false, "Prints a list of the notes with their name and id")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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