Giter VIP home page Giter VIP logo

Comments (5)

ashitr avatar ashitr commented on June 26, 2024

This would help, allowing to ask further inputs based on previous inputs provided.

from script-server.

yosefy avatar yosefy commented on June 26, 2024

from script-server.

bugy avatar bugy commented on June 26, 2024

Hi, @yosefy could you describe your use case a little bit more detailed? As for me, "depends on" and "include" have slightly different usages:

  • "include" should be used for "reusable" configurations, i.e. when multiple scripts use the same configuration
  • "depends on" should be used for dynamic visibility of parameters

I guess the main confusion here, is that script server allows "dynamic include", which is probably has nothing to do with reusability. And actually, in many cases, it causes duplicity, because people have to introduce several "included" files for different parameter values.
I think, my preferred solution here would be to add something like enabled option for each parameter, which will call some script and depending on the script results, might include the parameter.
It should be more flexible than depends on, since it will allow to enable a parameter for certain values and even depend on some other conditions (e.g. time of a day 😅)

What do you think?

from script-server.

yosefy avatar yosefy commented on June 26, 2024

from script-server.

Related Issues (20)

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.