Coder Social home page Coder Social logo

Comments (4)

DannyBen avatar DannyBen commented on June 21, 2024

I am not sure I am following.
Are you talking about internal variables that your script needs?

If so, what is wrong with having this setup:

# src/initialize.sh
load_vars

# src/lib/load_vars.sh
load_vars() {
  git_version=1.2.3
  docker_version=4.5.6
}

Isn't this clean enough?
How would you imagine this variables section in the YAML affect the generated script?

from bashly.

DannyBen avatar DannyBen commented on June 21, 2024

BTW - since you mentioned internal components, I am not sure if you are familiar with the Extensible Scripts feature in bashly, which lets you develop standalone scripts that work together (like developing a separate script for "docker pull" and "docker build").

Just wanted to mention it in case it is relevant.

from bashly.

DannyBen avatar DannyBen commented on June 21, 2024

@marcinkuzminski do you still need help with this / wish to discuss this further?

from bashly.

DannyBen avatar DannyBen commented on June 21, 2024

I am closing this. If there is any interest in continuing the discussion, we can reopen.

from bashly.

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.