Git Product home page Git Product logo

folder.view's Issues

Allow scripts to recieve arguments/flags

This is a feature request that may be slightly out of scope of this plugin but would be very helpful for my setup (and I assume others also).

Can we have an allowance for arguments and flags to be sent into a script?

Rough implementation idea:
Via the UI, this could be done with a popup asking for args or possibly a dropdown of options. This would require a method to define these - possibly a seperate file?
Via the exec script, it could split the "script name" by space - item 0 is the actual script name and items 1+ are the args/flags.

My use case:
I use folder view and compose manager. I'd love to call a use script to up/down/update a compose project using the custom commands in folder view which uses this user scripts plugin. I'd also like to have a script I can run on a schedule to do the same. Ideally I just want 1 script to do this for all of my compose scripts, but at present, I need 1 script per compose project. Having args I can send to the script would fix this.
I'm sure there are plenty of other scripts that would benefit from this.

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.