Git Product home page Git Product logo

Comments (6)

AngryEgret avatar AngryEgret commented on May 22, 2024 1

parser.add_argument('args', nargs=argparse.REMAINDER) might be enough.

from baseplate.py.

spladug avatar spladug commented on May 22, 2024

How can we make health checks a thing for daemons?

from baseplate.py.

bradengroom avatar bradengroom commented on May 22, 2024

Allow the script to parse arguments itself

+1 on this part. We've had to break out of baseplate-script a couple of times now just so we can parse arguments.

from baseplate.py.

bradengroom avatar bradengroom commented on May 22, 2024

What would passing arguments to the underlying script look like? I've seen this syntax in a couple of places:
vagrant ssh -- -R 9090:localhost:9090

Maybe a similar syntax would make sense?
baseplate-script example.ini some.module:run -- --my-option=foo

from baseplate.py.

spladug avatar spladug commented on May 22, 2024

This was fixed by @bradengroom in d79ddda

from baseplate.py.

spladug avatar spladug commented on May 22, 2024

Make it possible to run scripts directly by filename rather than doing global module lookup.

and this should be possible with 78d27b8

from baseplate.py.

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.