refactor: remove try-except blocks from command handlers and generators for cleaner code

This commit is contained in:
sankalp committed 2025-10-29 11:27:42 +05:45
1 parent 0df1bf1224
commit 53376e13d6
12 files changed
+195 -273

No files matched your search

+2 -6
View File
@@ -50,12 +50,8 @@ def generate_secret_command():
instructions.append("2. Add it to your .env file:\n")
instructions.append(" SECRET_KEY=your_secret_key_here\n", style=UIColors.CODE)
instructions.append("3. Or set it as an environment variable:\n")
instructions.append(
" export SECRET_KEY=your_secret_key_here\n", style=UIColors.CODE
)
instructions.append(
"4. Never commit secret keys to version control!\n", style=UIColors.WARNING
)
instructions.append(" export SECRET_KEY=your_secret_key_here\n", style=UIColors.CODE)
instructions.append("4. Never commit secret keys to version control!\n", style=UIColors.WARNING)
console.print(Panel(instructions, title="💡 How to Use", border_style="blue"))
console.print()