Posh: A Data-Aware Shell
micahlerner.com
micahlerner.com
Must admit i haven't looked more into the tool due to this. So that's something to be aware of when naming a project/tool.
> To make decisions about which parts of a script are executed remotely, POSH produces a graph representation of the shell script’s execution - the nodes in the graph are commands, while the edges represent the flow of data between commands. Correctly transforming a shell script into this graph representation is a nuanced, yet critical function. To facilitate it, POSH leverages an annotation language capable of describing a given command’s parameters, inputs, and outputs (as well as a number of important configuration options).
Posh is likewise using annotations to explain to itself what pieces of deployment (of a part of a shell command) may be done on which systems. Unlike the octodeploy I was looking at, where one unified deploy could be instantiated for differently tagged environments, Posh is building pipelines that span multiple systems, and using the system annotations to figure out where to schedule bits of work.
> I wanted to note two important components of the annotation language important to understanding the rest of the paper. First, the annotations can be defined per command and per argument - this flexibility is important because different arguments to a command can change its behavior and arguments. Second, a command’s inputs/outputs can be typed, and its behavior is defined. For example, the annotation language can indicate a command’s parallelizablity or whether the command relies on the current directory. Defining these properties of a command allow the parser and scheduler to answer the three questions above.
Quite enjoying this write-up! Excellent highlight of contributions & core characteristics.
You could be the one to revive it !
There are also some FOSS tools aimed at increasing the readability of CLI tools
https://github.com/charmbracelet/lipgloss
Doesn’t offer tables (yet) but is about as good as it’s going to get.
For “easy mode” apps, isn’t this what GUI apps were made for? The old Java applets and apps using Swing/JavaFX or Qt are the ones that immediately come to mind.
As it's aware of data-types you could likely build even the image feature (when combined with an adequate terminal).
If this is what you want to do there is almost certainly a better solution that involves parsing the logs another way entirely.
No updates in 13 months, FWIW