4 ms·
Minor nitpick but this is TUI and not CLI. CLI means you can pipe the output of your program to things like sed and grep and any other program.
by IgorPartola 7mo ago
Minor nitpick but this is TUI and not CLI. CLI means you can pipe the output of your program to things like sed and grep and any other program.
- petcat 7mo agoIt looks like it's both
- kantord 7mo agothere might be some gaps (let me know) but you can actually pipe the output to another program. for instance here's how you'd download all the unread blog posts by combining blogtato and wget: blog .unread read | wget \ --recursive --level=1 \ --page-requisites \ --convert-links \ --adjust-extension \ --no-parent \ --directory-prefix="$HOME/offline-posts" \ --input-file=-
- IgorPartola 7mo agoOh sweet. I always appreciate having the ability to script this kind of thing.
- pwdisswordfishy 7mo agoYou started out strong but fumbled in your second sentence. > CLI means you can pipe the output of your program to things like sed and grep and any other program. No, that's not a prereq for a CLI. "CLI" means "command-line interface", that's it. Vim's command line is still a command line even though it's totally disjoint from the UNIX shell and the entire process model. Even primarily graphical apps can expose a command line in the UI. Think of the VSCode command palette, for example, copied from SublimeText. (Though all the examples cited here are editors, there's no reason for it to be restricted to that. Indeed, even more graphical apps should sport command lines inside them.)
- IgorPartola 7mo agoHeh fair enough. I conflated the UNIX shell and command line as a general concept.
- outofpaper 7mo agoIf anything a CLU, a Command Line Utility would be the best thing to call the small programs that both van be run as one offs from the command line and have their output piped to other Command Line Utilities... I don't know why the term isn't being used more. CLU keep it simple. CLIs are a catch all from every single CLU up to MidnightCommander, Zork, Mosh, and OpenCode.
- pwdisswordfishy 7mo ago> CLIs are a catch all from every single CLU up to MidnightCommander No they're not, for reason just explained. CLI means "command-line interface". Midnight Commander runs in a terminal emulator, but it's not a CLI.