Skip to content

feat: add custom source command names for multi-source channels#1028

Open
nick4eva wants to merge 2 commits intoalexpasmantier:mainfrom
nick4eva:add-custom-source-command-names
Open

feat: add custom source command names for multi-source channels#1028
nick4eva wants to merge 2 commits intoalexpasmantier:mainfrom
nick4eva:add-custom-source-command-names

Conversation

@nick4eva
Copy link
Copy Markdown

@nick4eva nick4eva commented Apr 9, 2026

📺 PR Description

Add an optional command_name field to the [source] section of cable channel TOML definitions. When multiple source commands are defined, these names are displayed in the results panel header instead of the generic "Results" label, making it easier to identify which source is currently active.

Example usage:

[source]
command = ["ls", "ls -a", "ls -la"]
command_name = ["Default", "Hidden", "Detailed"]

Closes #1025

named_source_commands_1

named_source_commands_2

named_source_commands_3

Checklist

  • my commits and PR title follow the conventional commits format
  • if this is a new feature, I have added tests to consolidate the feature and prevent regressions
  • I have added a reasonable amount of documentation to the code where appropriate

@nick4eva nick4eva marked this pull request as ready for review April 10, 2026 05:52
@alexpasmantier alexpasmantier force-pushed the add-custom-source-command-names branch from 87c1956 to 474c5aa Compare April 14, 2026 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add support to add custom name for source commands (when more than one source command used)

1 participant