`limactl ls`: stop printing local SSH port (when the screen width is narrow)

Open Beginner friendly
#4,181 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
65/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
go
Domain
cli

Research direction

Start at the Go implementation of the limactl ls command and trace its table formatting, focusing on how narrow screen widths are handled. Confirm the existing SSH-by-instance-name behavior, then verify that narrow output omits the local SSH port while normal listing behavior remains intact.

Written by the indexing model from the issue text.

Description

area/cli good first issue priority/low

It seems mostly useless to print the local SSH port in limactl ls, as an SSH can be connected by the instance name, not by the port number

ssh -F ~/.lima/default/ssh.config lima-default

So we should stop printing local SSH port in limactl ls, especially when the screen width is narrow.

Dominant language
Go
Stars
21.9k
Forks
956
Avg merge
2d 7h
Merged PRs (30d)
49

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from lima-vm/lima

All issues in lima-vm/lima

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.