Prompt:
Create a complete command-line application using Python.
The application should solve this problem:
[Clearly describe the problem in 1–2 sentences.]
Core features:
[Feature 1 with exact behavior]
[Feature 2 with exact behavior]
[Feature 3 with exact behavior]
Technical requirements:
Use a clean and modular structure with functions or classes
Use argparse (or click if specified) for CLI input handling
Store data using [JSON / SQLite / file system]
Handle edge cases and invalid inputs properly
Output requirements:
Provide full working code in a single file (or structured files if needed)
Include setup and run instructions
Show example commands and expected output
Keep the code production-ready, not a prototype
Constraints:
Do not use unnecessary external libraries
Prioritize readability and maintainability
Coding Prompts
Browse our complete library of Coding Prompts prompts. Discover, copy, and use the best AI prompts for your next project.
2 prompts found
Implement [specific functionality] in [language/framework].
Requirements:
1. [Requirement 1]
2. [Requirement 2]
3. [Requirement 3]
Please:
- Modify only what is necessary
- Preserve existing code/comments unless changes are required
- Handle errors and edge cases properly
- Follow best practices for [language/framework]
- Keep performance and maintainability in mind
- Add clear comments where useful
- Mention any important assumptions before the code
Return:
1. Brief approach
2. Final code
3. Important notes (if any)