Skip to content

🍀 Proposal: dtm command auto-completion #642

Closed

Description

@prodanlabs

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

dtm command auto-completion,make dtm easier to use

Anything else

image

image

Activity

  1. prodanlabs commented on May 31, 2022

    @prodanlabs
    Author

    /assign

  2. iyear commented on May 31, 2022

    @iyear
    Member

    There is currently no github bot to execute the command:(. And this issue looks similar to #627, but I don't know much about the related fields😐.

  3. prodanlabs commented on May 31, 2022

    @prodanlabs
    Author

    Oh, someone is doing it, right? Then I don't have to submit a PR.

  4. aFlyBird0 commented on May 31, 2022

    @aFlyBird0
    Member

    There is currently no github bot to execute the command:(. And this issue looks similar to #627, but I don't know much about the related fields😐.

    I think #627 is special for fig , this issue is special for shell

  5. aFlyBird0 commented on May 31, 2022

    @aFlyBird0
    Member

    Thank you very much for submitting so many issues for devstream!

    However, there is already an official shell autocomplete (see here for details), so some of the functions may be duplicated.

  6. aFlyBird0 commented on May 31, 2022

    @aFlyBird0
    Member

    image

    When you configure auto-completion and type dtm show [tab], the output looks like this. This may be a duplicate of the output of dtm show in your screenshot.

  7. aFlyBird0 commented on May 31, 2022

    @aFlyBird0
    Member

    And to my partial understanding, dtm show config -p might be similar to dtm list plugins -r

    image

  8. prodanlabs commented on May 31, 2022

    @prodanlabs
    Author
      -p, --plugin string   specify name with the plugin
    
  9. prodanlabs commented on May 31, 2022

    @prodanlabs
    Author
    $ ./dtm show config -p [TAB][TAB]
    argocd                          githubactions-golang            github-repo-scaffolding-golang  gitlab-repo-scaffolding-golang  jenkins                         openldap
    argocdapp                       githubactions-nodejs            gitlabci-generic                hashicorp-vault                 jira-github-integ               trello
    devlake                         githubactions-python            gitlabci-golang                 helm-generic                    kube-prometheus                 trello-github-integ
    $ ./dtm show config -p gitlab[TAB][TAB]
    gitlabci-generic                gitlabci-golang                 gitlab-repo-scaffolding-golang  
    
  10. aFlyBird0 commented on May 31, 2022

    @aFlyBird0
    Member
    $ ./dtm show config -p [TAB][TAB]
    argocd                          githubactions-golang            github-repo-scaffolding-golang  gitlab-repo-scaffolding-golang  jenkins                         openldap
    argocdapp                       githubactions-nodejs            gitlabci-generic                hashicorp-vault                 jira-github-integ               trello
    devlake                         githubactions-python            gitlabci-golang                 helm-generic                    kube-prometheus                 trello-github-integ
    $ ./dtm show config -p gitlab[TAB][TAB]
    gitlabci-generic                gitlabci-golang                 gitlab-repo-scaffolding-golang  
    

    Got it. I'm sorry I didn't understand at first. I'm delirious tonight.

  11. daniel-hutao commented on Jun 3, 2022

    @daniel-hutao
    Member

    @prodanlabs Great proposal!

    @imxw Please help to review this proposal & pr #650

  12. IronCore864 commented on Jun 6, 2022

    @IronCore864
    Member

    I put a description here: #650 (comment)

    Is anybody interested in writing a blog on configuring auto-completion@2 with Bash 4.1+ on macOS? Chinese is fine.

    @daniel-hutao

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