claw

package module
v0.0.0-...-1cd18d4 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2020 License: MIT Imports: 10 Imported by: 0

README

claw

This repository contains claw, a command line tool to assist with gardening your notes in Bear. I don't expect anybody else to use it, but here it is.

Build:

$ go build -o claw ./cmd/claw

Usage:

$ ./claw unlinked

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CLI

func CLI(args []string, stdout, stderr io.Writer) int

Types

type Link struct {
	ByNote int `db:"Z_7LINKEDBYNOTES"`
	Note   int `db:"Z_7LINKEDNOTES"`
}

type Note

type Note struct {
	PK int `db:"Z_PK"`

	Title     sql.NullString `db:"ZTITLE"`
	Text      sql.NullString `db:"ZTEXT"`
	Archived  bool           `db:"ZARCHIVED"`
	Encrypted bool           `db:"ZENCRYPTED"`
	Trashed   bool           `db:"ZTRASHED"`
}

func (Note) TitleFlags

func (n Note) TitleFlags() string

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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