Giter Club home page Giter Club logo

Comments (4)

Saviq avatar Saviq commented on July 3, 2024

We've discussed this and are generally in favour, only question is what to do when there are more than one instances and you issue multipass connect - do we interactively ask you which one to connect to, or error out?

from multipass.

townsend2010 avatar townsend2010 commented on July 3, 2024

Also, tab completion should fill out the only vm automatically, so multipass connect <tab><tab> should automatically fill that in.

Also, if there are more than one instances defined, connect only tab completes running instances.

from multipass.

pekof avatar pekof commented on July 3, 2024

multipass connect is now multipass shell.
I needed to look in code to realize that.

We've discussed this and are generally in favour, only question is what to do when there are more than one instances and you issue multipass connect - do we interactively ask you which one to connect to, or error out?

Is this enhancement still desired?
Changing behavior multipass connect if only one, none or more than one instance is running could be confusing.
Should similar behavior be implemented for other commands e.g. multipass stop ?

If it's still desired feature I think that in case there are more instances running command should list running instances.

Also, tab completion should fill out the only vm automatically, so multipass connect <tab><tab> should automatically fill that in.

That's interesting solution without changing behavior of multipass shell command.

from multipass.

Saviq avatar Saviq commented on July 3, 2024

Yeah I'm gonna close this now. We're working to design a related solution, will keep you posted.

from multipass.

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.