Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (bunny-database-shell) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
bunny-database-shell
Connect to a Bunny Database shell.
Prerequisites
Install
npm install -g bunny-database-shellOr run directly with npx:
npx bunny-database-shellUsage
Connection values are resolved in order: CLI flags, .env file, then interactive prompt.
Open an interactive shell
Pass your connection details as flags:
bunny-database-shell --url libsql://your-database.lite.bunnydb.net --auth-token your-tokenOr use a .env file and the shell will connect automatically:
bunny-database-shellIf no flags or .env values are found, you'll be prompted to enter them.
Execute a single statement
Run a SQL statement and exit without entering the interactive shell:
bunny-database-shell -e "SELECT * FROM users"
bunny-database-shell "SELECT * FROM users".env file
Create a .env file in your working directory:
BUNNY_DB_URL=libsql://your-database.lite.bunnydb.net
BUNNY_DB_TOKEN=your-tokenThis lets you run bunny-database-shell without passing flags every time.