Unverified Commit 1d0d31c2 authored by Kevin Lyda's avatar Kevin Lyda
Browse files

Add notes.

parent 5997178d
Loading
Loading
Loading
Loading
+13 −8
Original line number Diff line number Diff line
@@ -27,6 +27,9 @@ repl.commands?

## Things to do

  * Move to a storage layer.  Next: this.Folder should be a storage.Folder.
  * Implement batch jobs - and have install populate the database with some
    test data.
  * Implement each command.
    * Next: folder commands - ~~CREATE~~, ~~REMOVE~~, MODIFY, ~~INDEX~~, ~~SELECT~~
    * Messages: ~~ADD~~, CURRENT, ~~DIRECTORY~~, BACK, CHANGE, FIRST, REMOVE, NEXT, ~~READ~~
@@ -34,14 +37,6 @@ repl.commands?
    * Moving messages: COPY, MOVE
    * Compound commands: SET and SHOW - make HELP work for them.
    * Mail: MAIL, FORWARD, 
    * Implement batch jobs
  * ~~Editor - need an embedded editor~~ Implemented using tview; good enough
    * An EDT inspired [editor](https://sourceforge.net/projects/edt-text-editor/)
    * [gkilo](https://github.com/vcnovaes/gkilo)
    * This [kilo editor](https://viewsourcecode.org/snaptoken/kilo/) tutorial
    * Using giu, a [text-editor](https://serge-hulne.medium.com/coding-a-simple-text-editor-in-go-using-giu-quick-and-dirty-b9b97ab41e4a) (needs cgo, no)
    * [bubbletea](https://github.com/charmbracelet/bubbletea) seems to be the tui that's winning
    * Another option is tview - [simpler](https://github.com/rivo/tview).
  * Handle broadcast messages - have bulletin watch a directory and
    display files from it.  Then have them delete the file if it's older
    than 5 minutes (allow for failure)
@@ -63,6 +58,16 @@ repl.commands?
  * ~~SHOW VERSION~~
  * Check db version; notify user if it changes; refuse to write to db if it has.

Done:

  * ~~Editor - need an embedded editor~~ Implemented using tview; good enough
    * An EDT inspired [editor](https://sourceforge.net/projects/edt-text-editor/)
    * [gkilo](https://github.com/vcnovaes/gkilo)
    * This [kilo editor](https://viewsourcecode.org/snaptoken/kilo/) tutorial
    * Using giu, a [text-editor](https://serge-hulne.medium.com/coding-a-simple-text-editor-in-go-using-giu-quick-and-dirty-b9b97ab41e4a) (needs cgo, no)
    * [bubbletea](https://github.com/charmbracelet/bubbletea) seems to be the tui that's winning
    * Another option is tview - [simpler](https://github.com/rivo/tview).

## Module links

  * cli - [docs](https://cli.urfave.org/v3/getting-started/)