microsoft / microsoft/terminal

Add support for `list-profiles` subcommand

Open
#5,463 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Commandline Issue-Task Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

From the original spec:

list-profiles

list-profiles [--all,-A] [--showGuids,-g]

Displays a list of each of the available profiles. Each profile displays it's
name, separated by newlines.

Parameters:

  • --all,-A: Show all profiles, including profiles marked "hidden": true.
  • --showGuids,-g: In addition to showing names, also list each profile's
    guid. These GUIDs should probably be listed first on each line, to make
    parsing output easier.

addenda 2026

  • Add a --json flag that dumps the evaluated state of profiles to the terminal.
  • add a --full flag to --json that dumps all the properties to the final output. So that a tool could enumerate all the profiles and all the icons and etc etc etc, even the ones from fragments and dynamic profiles and everything.

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.

Research direction

No file, test, or entry point is named in the issue. Start by locating the CLI subcommand handling and the profile enumeration logic, then trace how hidden, dynamic, and fragment-derived profiles are represented. Done means the requested list-profiles options, including evaluated JSON output and the --full extension, are specified and covered by appropriate tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.