[plugin] Navi cheatsheet: Export command line snippets directly to the shell

112 views
Skip to first unread message

bimlas

unread,
May 17, 2021, 1:18:18 PM5/17/21
to TiddlyWiki
Invoke snippets and one-liners stored in Node.js TiddlyWiki directly from the command line.

Navi is an interactive cheatsheet tool for the command-line: it allows you to browse through cheatsheets (that you may write yourself or download from maintainers) and execute commands. This is a great way to replace aliases, one-liners and short scripts with a searchable "snippet database".

Many keep these snippets in their own description of the related program. This plugin helps you to access the snippets in your notes directly from the command line using Navi.

Mohammad Rahmani

unread,
May 18, 2021, 12:35:07 AM5/18/21
to tiddl...@googlegroups.com
Ah lovely!
Thank you Bimlas!

Best wishes
Mohammad


--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/55372319-0a7f-4a59-ab19-cac9916a9b82n%40googlegroups.com.

Ste

unread,
May 19, 2021, 4:07:22 AM5/19/21
to TiddlyWiki
so...you can write something in a nodejs tiddlywiki and then it sends it to navi and that becomes a command line shortcut sort of thing?
mind blown...

bimlas

unread,
May 19, 2021, 4:14:09 AM5/19/21
to TiddlyWiki
Ste,

so...you can write something in a nodejs tiddlywiki and then it sends it to navi and that becomes a command line shortcut sort of thing?

This is exactly it: you can keep the snippets among your notes, so you can give a more detailed explanation, and they will be categorized due to the structure and of your notes (table of contents, links, etc.). If, on the other hand, you need the code snippet on the command line, you don't have to search through your notes, just search for the right keywords in Navi.

Its advantage over running snippets in a separate Navi file is that there is no duplication: if you realize that you need to add another parameter to a command in a snippet, you only need to edit it in your notes, you don't have to do it in the Navi file as well.
Reply all
Reply to author
Forward
0 new messages