paololazzari / play Goto Github PK
View Code? Open in Web Editor NEWA TUI playground to experiment with your favorite programs, such as grep, sed, awk, jq and yq
License: Apache License 2.0
A TUI playground to experiment with your favorite programs, such as grep, sed, awk, jq and yq
License: Apache License 2.0
This is a really cool tool, but I found using it for more than a very simple command was frustrating because of the positional arguments field/input area being so narrow.
Here's an example -- Trying to get to this, which is relatively short for a jq/yq query:
yq e '[.images.gitSync.repository, .images.gitSync.tag] | join(":")'
after I've entered the query in positional arguments, this is what it looks like
yq eval 'Sync.tag] | join(":") ' -- values_11.8.yml
I don't know the framework at all, and have little experience with terminal apps, but if it is possible to make the positional argument input grow to available size, it would be much easier to use.
As a secondary consideration if dynamic sizing of objects is complicated/tedious/not worth the time, maybe split the input area to 3 lines, eg something like
[command] [command options (to terminal width)]
'<positional arguments> (to terminal width)'
<input files> (to terminal width)
I did discover the wide editor and that works for sure, but it would be nice to be able to see more of the positional arguments in the default view.
This tool is cool, thanks for making it!
What a useful tool this is.
Would you consider adding a way to easily copy the final command, for use elsewhere.
ijq
is that it prints the final command to stdout when you're "done".The ijq
pattern seems like it's simpler.
Lots of things are already called play
:
❯ brew info play
==> play: 2.0.20
https://pmsaue0.github.io/play/
Something more unique may help this project get more recognition and release packages.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.