flash-cli

command module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2026 License: GPL-3.0 Imports: 9 Imported by: 0

README

flash-cli

Flash-cli is a tool to create a flashcard deck and view it from your command line. Inspired by the simplicity and power of taskwarrior with a plugin architecture for users to extend it how they wish.

Flashcards are stored in an SQLite database

Installation

TODO

Usage

TODO

Default command

Note on using default command, all arguments passed will be read as filters. ie. a command like flash-cli group:foo will review all cards from the foo group. But trying to pass the review mode like flash-cli mode:shuffle will consider it as a custom filter. If you want to pass mods to the review command either set defaults or explicitly call flash-cli review mode:shuffle

Plugin creation

Plugin data is stored in a TEXT column as json, so they need to create their own indexes like below

-- run something like this on startup to index its own nested key CREATE INDEX IF NOT EXISTS idx_plugin1_difficulty ON %s (json_extract(ext_data, '$.plugin1.difficulty'));

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
examples
foo-updater command
internal
app
ext
Package shared contains shared data between the host and plugins.
Package shared contains shared data between the host and plugins.

Jump to

Keyboard shortcuts

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