Skip to content

CLI Quick Start

Create a bundle and open the REPL

bundlebase create --bundle ./my-bundle
bundlebase repl --bundle ./my-bundle

You'll see a header and prompt:

Opened bundle at ./my-bundle (version ..., 1 commit)
Type '/help' for available commands, '/exit' to quit
----------------------------------------------------------
./my-bundle>

Attach data

./my-bundle> ATTACH 'customers.csv'

Query

./my-bundle> SELECT * FROM bundle

Filter rows

./my-bundle> FILTER WITH SELECT * FROM bundle WHERE country = 'US'

Commit

./my-bundle> COMMIT 'Added and filtered customer data'

View history

./my-bundle> SHOW HISTORY

Exit

Type /exit, /quit, or press Ctrl+C / Ctrl+D.

Next steps