JohnnyIrvin / shell-craft

Shell-Craft harnesses the potential of OpenAI's API to execute prompts, generate shell commands, and auto-fill templates seamlessly integrated with GitHub. Simplify and automate developer tasks with the power of AI.
MIT License
12 stars 3 forks source link

Help Text not changing for Language prompts #74

Closed JohnnyIrvin closed 1 year ago

JohnnyIrvin commented 1 year ago

Help text is not updating when prompt is a language type

Describe the bug When a language prompt is used, the help text is not changing accordingly. The prompt provides guidance for the user. However, if a user types --help, the text that appears is not relevant as it does not provide additional information about the specific language requested.

To Reproduce Steps to reproduce the behavior:

  1. Use a language prompt (for example, python).
  2. See help text for the prompt.
  3. Observe that the text displayed doesn't not contain --refactor --document etc.

Expected behavior The help text should provide additional information on the specific prompt.

JohnnyIrvin commented 1 year ago

When using a language prompt incorrectly, the help message is displayed correctly it seems. This seems to only happen when specifically requesting --help for a language prompt.