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

Enable the user to add and display descriptions to commands. #20

Open
fpgmaas opened this issue Mar 29, 2023 · 0 comments
Open

Enable the user to add and display descriptions to commands. #20

fpgmaas opened this issue Mar 29, 2023 · 0 comments

Comments

@fpgmaas
Copy link
Owner

fpgmaas commented Mar 29, 2023

Make the following possible:

test:
  my-command:
    cmd: "echo Hello! My name is: $name. My favourite fruit is: $fruit"
    description: Print someone's name and their favourite fruit.
    echo: false
    args:
      - name
      - fruit: apple

Also allow the user to view these descriptions in the terminal when running ckit. Displaying all descriptions would require quite a large overhaul of the Picker and GrouPicker classes. Maybe a easier way to get started would be to display the description when the user presses 'h' when the cursor is focussed on an option.

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

No branches or pull requests

1 participant