CLI TOOLS
Try our custom CLI to transpile easily your bob queries into SQL. It's super easy to use and super fast.
terminal
$ bob -i ./input/ -d sqlite -o ./sql/
✨ Successfully transpiled
🚀 Generated SQL for SQLite database!
Command Flags
FlagDescriptionOptional
-i--input Path to the input .bob file
-q--query Direct query string input instead of file
-d--driver Database driver: mariadb, postgres, or sqlite
-o--output Output folder for SQL files
- create tables.sql file.
- create actions/ folders with each action as a file.
(by default, output is printed to the terminal)
- create tables.sql file.
- create actions/ folders with each action as a file.
(by default, output is printed to the terminal)
-v--version Show Bob version and exit
Output example
input
user.bob
product.bob
get-user-by-name.bob
get-product-by-id.bob
output
tables.sql
actions
get-user-by-name.sql
get-product-by-id.sql