From 45c1a72d0a7b3e20189a52f2bbcb3596d0dfcd83 Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Fri, 27 Jun 2025 12:26:39 +0300 Subject: [PATCH] cli: Rename CLI to Turso --- CONTRIBUTING.md | 4 ++-- Cargo.lock | 60 ++++++++++++++++++++++++------------------------- README.md | 2 +- cli/Cargo.toml | 2 +- cli/app.rs | 4 ++-- 5 files changed, 36 insertions(+), 36 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 552c48223..474286989 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -21,10 +21,10 @@ Examples of contributing * [How to contribute a SQL function implementation](docs/contributing/contributing_functions.md) -To build and run `limbo` cli: +To build and run `tursodb` CLI: ```shell -cargo run --package limbo_cli --bin limbo database.db +cargo run --package turso_cli --bin tursodb database.db ``` Run tests: diff --git a/Cargo.lock b/Cargo.lock index 2ad92456c..99da0898a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1759,36 +1759,6 @@ dependencies = [ "web-sys", ] -[[package]] -name = "limbo_cli" -version = "0.0.22" -dependencies = [ - "anyhow", - "cfg-if", - "clap", - "clap_complete", - "comfy-table", - "csv", - "ctrlc", - "dirs 5.0.1", - "env_logger 0.10.2", - "libc", - "limbo_core", - "miette", - "nu-ansi-term 0.50.1", - "rustyline", - "schemars", - "serde", - "shlex", - "syntect", - "toml", - "toml_edit", - "tracing", - "tracing-appender", - "tracing-subscriber", - "validator", -] - [[package]] name = "limbo_completion" version = "0.0.22" @@ -3810,6 +3780,36 @@ dependencies = [ "tracing-log", ] +[[package]] +name = "turso_cli" +version = "0.0.22" +dependencies = [ + "anyhow", + "cfg-if", + "clap", + "clap_complete", + "comfy-table", + "csv", + "ctrlc", + "dirs 5.0.1", + "env_logger 0.10.2", + "libc", + "limbo_core", + "miette", + "nu-ansi-term 0.50.1", + "rustyline", + "schemars", + "serde", + "shlex", + "syntect", + "toml", + "toml_edit", + "tracing", + "tracing-appender", + "tracing-subscriber", + "validator", +] + [[package]] name = "turso_node" version = "0.0.22" diff --git a/README.md b/README.md index 41ab633a0..f8078d985 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ You can install the latest `limbo` release with: ```shell curl --proto '=https' --tlsv1.2 -LsSf \ - https://github.com/tursodatabase/limbo/releases/latest/download/limbo_cli-installer.sh | sh + https://github.com/tursodatabase/limbo/releases/latest/download/turso_cli-installer.sh | sh ``` Then launch the shell to execute SQL statements: diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 71ab0a802..4ef36c50f 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -6,7 +6,7 @@ default-run = "tursodb" description = "The Turso interactive SQL shell" edition.workspace = true license.workspace = true -name = "limbo_cli" +name = "turso_cli" repository.workspace = true version.workspace = true diff --git a/cli/app.rs b/cli/app.rs index 2146d4847..99478a0d8 100644 --- a/cli/app.rs +++ b/cli/app.rs @@ -63,7 +63,7 @@ pub struct Opts { pub tracing_output: Option, } -const PROMPT: &str = "limbo> "; +const PROMPT: &str = "turso> "; pub struct Limbo { pub prompt: String, @@ -187,7 +187,7 @@ impl Limbo { self.handle_first_input(&sql)?; } if !quiet { - self.write_fmt(format_args!("Limbo v{}", env!("CARGO_PKG_VERSION")))?; + self.write_fmt(format_args!("Turso v{}", env!("CARGO_PKG_VERSION")))?; self.writeln("Enter \".help\" for usage hints.")?; self.writeln( "This software is ALPHA, only use for development, testing, and experimentation.",