Coder Social home page Coder Social logo

Comments (4)

navidurrahman avatar navidurrahman commented on June 3, 2024

@solarkennedy ^^

from marathon-python.

solarkennedy avatar solarkennedy commented on June 3, 2024

Yea, I think it wouldn't be that much feature creep to have a CLI, but I would be very skeptical if it did any more than just post the yaml contents. It will be a lot of upkeep if we have to constantly add a billion cli arguments.

from marathon-python.

navidurrahman avatar navidurrahman commented on June 3, 2024

I agree with you in a way, but look at the example below, and let me know your thoughts.

./bin/marathon create -y apps/apps.yaml -d ubuntu/image:tag -e env_file
- id: uae-celery
  cpus: 0.65
  mem: 2048
  cmd: "sleep 100"
  volumes:
    - container_path: "/home/user/logs/"
      host_path: "/var/log"

We are trying to separate data files from code, and it can be useful from any admin machine.

Regarding multiple arguments, i guess few functions should be fine.

from marathon-python.

solarkennedy avatar solarkennedy commented on June 3, 2024

Seems fine, I think it is just important to know what we are committing to. As long as we are clear that the api bindings are the first class citizen here. I can easily imagine this command line tool growing into like, a full paas....

If you want to ensure that this continues to work as this package evolves, I encourage you to write at least one itest that, so that we will know if it breaks in the future.

from marathon-python.

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.