GithubHelp home page GithubHelp logo

Comments (5)

dlespiau avatar dlespiau commented on May 29, 2024 1

Of course! It's all yours!

from footloose.

dlespiau avatar dlespiau commented on May 29, 2024

@ilmanzo suggested the same thing in #78 .

to integrate with external tools, it would be very useful to have a 'list' command that outputs all the machine hostnames, and maybe optionally the current host-container port mapping. This can be done with docker but there can be other containers running, we need only the ones created by footloose.

This command is interesting to see the run-time properties of containers, some data is already available in the config file, although showing the "computed" properties like the hostnames is also interesting.

First we need to decide on a name for the command :) list, show, status, info are good candidates.

We would go through the machine/containers and for each display properties. A first version could have some basic information:

  • hostname
  • running?
  • list of port mappings
  • ...?

It'd be nice if the user could format the output in such a way it's easy to consume by tooling: an option for json output is possible, another is to use go templates similar to docker inspect --format.

from footloose.

Skarlso avatar Skarlso commented on May 29, 2024

Uuuhhh, I'm all for this one if you don't mind.:) I love formatting output.

from footloose.

Skarlso avatar Skarlso commented on May 29, 2024

@dlespiau ^^

from footloose.

dlespiau avatar dlespiau commented on May 29, 2024

This was addressed by PR #103. More specific issues are filed to improve on it.

from footloose.

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.