- Notifications
You must be signed in to change notification settings - Fork 18
Closed
Description
Is your feature request related to a problem? Please describe.
When managing Nginx Proxy Manager through the CLI, users frequently need to perform operations that require manual confirmation. This becomes tedious and inefficient when automating tasks or running scripts, as each operation requires manual user input to proceed.
Describe the solution you'd like
I have implemented a new -y flag that automatically confirms all operations without requiring user interaction. This works similar to apt-get -y or other common CLI tools. When the -y flag is used:
- No confirmation prompts are shown
- The script proceeds with default "yes" responses
- Operations execute automatically
- Status messages still show for tracking progress
Describe alternatives you've considered
- Environment variable for auto-confirm: More complex to implement and use
- Config file setting: Requires additional file management
- Separate scripts for automated/interactive modes: Leads to code duplication
- Expect scripts: Too complex for most users
Additional context
- Works with all operations that normally require confirmation
- Ideal for automation and scripting
- Maintains all error checking and validation
- Similar to standard Unix/Linux tool behavior
- Can be combined with other flags
PR: #7
Metadata
Metadata
Assignees
Labels
No labels