Skip to content

feat: support --file argument to execute SQL from a file#38

Merged
lewiszlw merged 3 commits into
sundy-li:mainfrom
lewiszlw:feat/file-param
Jul 16, 2026
Merged

feat: support --file argument to execute SQL from a file#38
lewiszlw merged 3 commits into
sundy-li:mainfrom
lewiszlw:feat/file-param

Conversation

@lewiszlw

@lewiszlw lewiszlw commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

This PR adds a -f/--file CLI option that reads SQL from a text file and executes it, then exits.\n\n- Added --file argument to Args (conflicts with --command).\n- Added Session::handle_file to read the file and execute its contents.\n- Updated README usage and examples.

@lewiszlw
lewiszlw merged commit d950d8b into sundy-li:main Jul 16, 2026
4 checks passed
@lewiszlw
lewiszlw deleted the feat/file-param branch July 16, 2026 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant