Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] Ast Tree on cli #108

Open
c0ncentus opened this issue Mar 17, 2023 · 1 comment
Open

[Request] Ast Tree on cli #108

c0ncentus opened this issue Mar 17, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@c0ncentus
Copy link

c0ncentus commented Mar 17, 2023

Is your feature request related to a problem? Please describe.
sometimes CLI apps have "interactive mode" and so select features we want to run and stop thinking "what i should use for ...".

or some complex use case require to select many values on different categories ...

Describe the solution you'd like
have ast tree like this but just the square in the idea ... or not ...
image

return {path:..., value:string} maybe

minimal data will be

{
    node:"parent",
    children: [
           node:"parent2",
           children:[...]
    ]

}

Describe alternatives you've considered

Additional context
making cli app but wait until there is a hope from this package, it's dont exist on other npm package (or dont see).

use https://github.com/terkelg/prompts but thats very silly because dynamic props is too harsh (only on previous prompt, not the global result)

@c0ncentus c0ncentus added the enhancement New feature or request label Mar 17, 2023
@github-project-automation github-project-automation bot moved this to Needs triage in Triage Board Dec 29, 2024
@titusdecali
Copy link

I also need a dynamically built multi-select tree
Use case is to multi-select files/folders in a tree within a local project.

I am currently using Inquirer CLI, which has support for this, but styled Clack just looks so much nicer I am looking to switch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Needs triage
Development

No branches or pull requests

2 participants