3.3 KiB
Cadmus ToDo List
- Main Executable
- Add support for different configs
- Main Help
- Aliases
- SubFunctions
- HOLD [#A] NoteFind.sh
- Search
- tags
- tools
- export
- convert
- misc
- publish
- preview
- Packaging
- Exit Codes
- Footnotes
Main Executable
TODO [B] Add support for different configs
Basically I would like to be able to change the note directory to manage seperate knowledge bases, for example:
- Personal Wiki
- Static Site
- Wiki for Project
- School Project public knowledge base etc.
This should be fed in as a -c
option.
Main Help
TODO [C] Move Emojis
I should move the emojis to the end so that they don't interfere when using tty
TODO [B] Should interactive elements of scripts be preserved and use the clipboard
As opposed to having no feedback and just operating on STDIN and STDOUT. Could a similar effect be acheived using /tmp or /dev/shm?
TODO [A] Should subscripts be exptected to be relative or absolute?
TODO [A] Should the Notes directory be a global variable or an argument
TODO Should we set the Notes directory in a TOML?
see the stoml package.
TODO Why do I keep getting Argument has no definition?
Aliases
[B] Readme
Add Recommended Aliases to the readme as well as fish functions.
SubFunctions
TODO Restructure
should I restructure the subfunctions to accept only 1 argument either help or directory and fail in the absence of any given argument?
Pros
- Much Simpler to implement and maintain
Cons
- Less clean to pass in functions
- Less Extensible
HOLD [#A] NoteFind.sh
KeyBindings
DONE
cadmus find
Should print help when no arguments
Completed this by calling help and exiting if the arguments are empty in cadmus.
TODO [A] Search
recoll should use seperate config
Recoll should be called with regard to a config, the idea being i could run:
cadmus -c personal
cadmus -c uni
cadmus -c work
and have different note bases
TODO [A] tags
TODO [A] tools
TODO [A] export
TODO [A] convert
TODO [A] misc
TODO [A] publish
TODO [A] preview
Packaging
Exit Codes
Number | Description |
3 | File not found |
4 | directory not found |
5 | unrecognized option |
6 | Missing Dependency |
Exit Code Number ∉ {1, 2, 126, 127, 128, 130, 255}