You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add CLI feedback when waiting for stdin input
- Detects interactive TTY sessions and prints a helpful message to stderr when the command is waiting for input.
- Prevents user confusion when running commands without arguments or pipes.
- Adds test case to verify the behavior (mocking isTTY).
- Handles platform-specific EOF instructions (Ctrl+Z for Windows, Ctrl+D for others).
- Verifies macOS behavior via specific test case.
- Ensures all tests pass linting (no unused variables).
0 commit comments