Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Remove Prompt Constants #98

@JohnnyIrvin

Description

@JohnnyIrvin

Removing prompt constants from factory

Is your feature request related to a problem? Please describe.
Currently, the prompt_factory gets all prompts, but includes constants for specific prompts such as BASH_PROMPT and PYTHON_PROMPT. This limits the ability to add or modify prompts without adjusting the module code directly.

Describe the solution you'd like
I would like to see the removal of these prompt constants from the prompts module, allowing for more flexibility in adding or modifying prompts. Instead, prompt configurations can be specified in a separate file or through command line arguments.

Describe alternatives you've considered
One alternative would be to create a separate factory for each prompt type, but this could become unwieldy and require changes to multiple files if new prompt types are added in the future. Another alternative would be to leave the constants in the factory code and modify them as needed, but this approach is not as scalable or modular as separating the configuration from the code

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions