Skip to content

Dynamically defined commands #939

Closed as not planned
Closed as not planned

Description

@FezVrasta

Describe the feature and the current behavior/state.

There are cases where it would be useful to allow the users to create new commands dynamically. For example, an extension may want to allow the users to define commands to quickly perform certain actions without opening the main extension command and doing that manually.

In my case I have the Set Output Device extension that has a static Set Audio Output Device to Favourite One command, but I would rather let the users create a command from any of their available output devices rather than limiting to just one.

Will this change the current API? How?

Yes, it should provide a programmatic way to register commands.

Who will benefit from this feature?

Anyone wanting to expose convenient ways to use theirs extensions.

Any Other info.

Activity

  1. added
    api
    feature request
    on Feb 18, 2022
  2. jul-sh commented on Apr 10, 2024

    @jul-sh

    are there plans to implement this?

  3. Gitsack commented on Sep 28, 2024

    @Gitsack
    Contributor

    This would be amazing for multiple use cases and an instant boost to productivity, since you would be able to add custom shortcuts for your own needs more granually, like Quicklinks or Window Management where you can add options dynamically into a "Group":

    CleanShot 2024-09-28 at 16 15 28@2x

    Was currently looking for an option to implement this, but I guess the status of this ticket means that we're out of luck right now? :)


    I guess the next best option currently is to have a list view with all available options to trigger the respective action, right?

  4. bartsmykla commented on May 17, 2025

    @bartsmykla

    I agree that it would be an awesome addition

  5. added a commit that references this issue on Sep 11, 2025
  6. 0xdhrv commented on Jun 27, 2026

    @0xdhrv
    Member

    Thanks for opening this.

    This is a feature request for Raycast’s API / Detail component rather than an issue with a specific extension in this repository. To keep this tracker focused on extension-specific issues and PRs, please send this through Raycast’s Send Feedback command instead.

    You can open Raycast and run Send Feedback, then choose the relevant feedback type. Alternatively, you can use the Raycast feedback form: https://www.raycast.com/feedback

    Closing this here since it’s better tracked through Raycast Feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Staleapifeature request

    Type

    No type

    Fields

    Priority

    None yet

    Severity

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions