Skip to content

🍀 Proposal: Add generateFigSpec subcommand for fig autocomplete #627

Closed

Description

@imxw

What Would You Like to Add? Why is This Needed?

I want to use this subcommand to generate a .ts file that needed for fig autocomplete. Then integrate it into CI with push-to-fig-autocomplete-action, so that if there is a command or option change, the action will automatically create a Autocomplete PR.

Design

image

Anything else

In order not to affect the normal use of the user, this subcommand will not be reflected in the dtm help into and will only be used for CI

Activity

  1. daniel-hutao commented on May 30, 2022

    @daniel-hutao
    Member

    Good idea!

    Maybe this command is a bit complicated, can we simplify it a bit more? For example,

    dtm autocomplete --type=fig

    @IronCore864 Need your input.

  2. imxw commented on May 30, 2022

    @imxw
    MemberAuthor

    how about dtm fig? This subcommand will be hidden, users no need to know it. @devstream-io/pmc

  3. IronCore864 commented on Jul 8, 2022

    @IronCore864
    Member

    @imxw has this been implemented already?

  4. imxw commented on Jul 12, 2022

    @imxw
    MemberAuthor

    @imxw has this been implemented already?

    Not yet. I'll work on it later.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions