-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Goal
Allow the --select_sql argument to accept input from a file or standard input (stdin), making it easier to use complex queries without shell escaping.
Tasks
- If
--select_sqlstarts with@, treat the rest as a path to a.sqlfile and read its contents- Example:
--select_sql @query.sql
- Example:
- If
--select_sqlis-, read SQL fromstdin - Validate file existence and show error if file is not found
- Update README with usage examples
Why it matters
Long SQL queries are difficult to pass inline. Supporting file and stdin input aligns with standard CLI practices and improves developer ergonomics.