## Summary
- Fix bug where CLI required specifying generate twice to work
- The remove_env_flags function was incorrectly returning index 0 when no --env flag was present
- This caused the first argument (program name) to be skipped incorrectly
- Added early return when env_idx == 0 to preserve args when no --env flag exists
Commit: 460bb46
The remove_env_flags function was incorrectly returning index 0 when no --env
flag was present, causing it to mistakenly skip the first argument
(program name) and shift all arguments incorrectly.
This required users to specify 'generate' twice to make the CLI work.
Fix by checking if --env was actually found (env_idx > 0) before removing
any arguments from the list.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Commit:
460bb46