Code Monkey home page Code Monkey logo

play's People

Contributors

paololazzari avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

play's Issues

feature request: a way to copy the final command

What a useful tool this is.

Would you consider adding a way to easily copy the final command, for use elsewhere.

Solution Ideas:

  • The pattern used by ijq is that it prints the final command to stdout when you're "done".
  • A new panel that always shows the full command string so that a user can manually copy it.
  • Other

The ijq pattern seems like it's simpler.

ui tweak suggestion - make the positional arguments as wide as possible

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.