1
0
mirror of https://github.com/RyanGreenup/cadmus.git synced 2025-02-21 05:03:27 +01:00
cadmus/todo.org

73 lines
2.9 KiB
Org Mode
Raw Normal View History

2020-07-14 21:36:01 +10:00
#+TITLE: Cadmus ToDo List
* Main Executable
2020-07-15 01:08:18 +10:00
** 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.
2020-07-15 01:14:19 +10:00
[[file:bin/cadmus::NOTES_DIR="~/Notes/MD" ## TODO Global Variables are bad][Refer to this line here]]
2020-07-14 21:36:01 +10:00
** Main Help
*** TODO [#C] Move Emojis
I should move the emojis to the end so that they don't interfere when using tty
2020-07-14 21:36:41 +10:00
*** 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
2020-07-14 21:36:01 +10:00
**** TODO Should we set the Notes directory in a TOML?
see [[https://github.com/freshautomations/stoml][the stoml package]].
*** TODO Why do I keep getting Argument has no definition?
2020-07-14 21:37:43 +10:00
** Aliases
*** [#B] Readme
Add Recommended Aliases to the [[file:README.md::Recommended Aliases][readme]] as well as fish functions.
* HOLD [#A] NoteFind.sh
2020-07-14 21:36:01 +10:00
** KeyBindings
*** TODO [#B] Should Implement keybindings for Exports
[[file:NoteFind.sh::ramtmp="$(mktemp -p /dev/shm/)"][In the SkimAndGrep]] function there should be export options for HTML mathml [fn:1] as well as odt[fn:2]
*** TODO [#C] Should call emacsclient not emacs
I should change the [[file:NoteFind.sh::--bind 'alt-v:execute-silent(code {}),alt-e:execute-silent(emacs {}),ctrl-o:execute-silent(xdg-open {})' \\][emacs call]] to open ~emacsclient~ instead of ~emacs~
2020-07-15 00:41:55 +10:00
** DONE ~cadmus find~ Should print help when no arguments
Completed this by calling help and exiting if the arguments are empty in cadmus.
[[file:bin/cadmus::function NoteFind() {][See here]]
2020-07-15 01:09:59 +10:00
* TODO [#A] Search
* TODO [#A] tags
* TODO [#A] tools
* TODO [#A] export
* TODO [#A] convert
* TODO [#A] misc
* TODO [#A] publish
* TODO [#A] preview
2020-07-14 21:36:01 +10:00
2020-07-14 22:29:10 +10:00
* Packaging
** TODO Make a Package
Use [[https://fpm.readthedocs.io/en/latest/source/dir.html][FPM]] to make multiple packages bundling everything together.
Consider also just using ~install --help~ and doing something [[https://www.reddit.com/r/archlinux/comments/4gsg9i/how_would_i_package_a_simple_bash_script/][like this]] or [[https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=split2flac-git][like this]].
2020-07-15 00:41:55 +10:00
* Exit Codes
| Number | Description |
| 3 | File not found |
| 4 | directory not found |
| 5 | unrecognized option |
| 6 | Missing Dependency |
2020-07-14 22:29:10 +10:00
2020-07-15 00:41:55 +10:00
#+begin_quote
Exit Code Number ∉ {1, 2, 126, 127, 128, 130, 255}
#+end_quote
2020-07-14 21:36:01 +10:00
* Footnotes
[fn:2] This could so something like ~pandoc -o /tmp/myfile.odt; xdg-open /tmp/myfile.odt~
[fn:1] Think for using *Thunderbird*