Skip to content

Commit b1c46de

Browse files
chore: rename pglt_cli and binary
1 parent 72b94c1 commit b1c46de

35 files changed

+145
-164
lines changed

Cargo.lock

Lines changed: 37 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ unicode-width = "0.1.12"
5454
pglt_analyse = { path = "./crates/pglt_analyse", version = "0.0.0" }
5555
pglt_analyser = { path = "./crates/pglt_analyser", version = "0.0.0" }
5656
pglt_base_db = { path = "./crates/pglt_base_db", version = "0.0.0" }
57-
pglt_cli = { path = "./crates/pglt_cli", version = "0.0.0" }
57+
pgt_cli = { path = "./crates/pgt_cli", version = "0.0.0" }
5858
pglt_commands = { path = "./crates/pglt_commands", version = "0.0.0" }
5959
pglt_completions = { path = "./crates/pglt_completions", version = "0.0.0" }
6060
pglt_configuration = { path = "./crates/pglt_configuration", version = "0.0.0" }

crates/pglt_cli/Cargo.toml renamed to crates/pgt_cli/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ edition.workspace = true
66
homepage.workspace = true
77
keywords.workspace = true
88
license.workspace = true
9-
name = "pglt_cli"
9+
name = "pgt_cli"
1010
repository.workspace = true
1111
version = "0.0.0"
1212

@@ -56,5 +56,5 @@ tikv-jemallocator = "0.6.0"
5656
doctest = false
5757

5858
[[bin]]
59-
name = "pglt"
59+
name = "postgrestools"
6060
path = "src/main.rs"
File renamed without changes.

crates/pglt_cli/src/commands/mod.rs renamed to crates/pgt_cli/src/commands/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ pub enum PgltCommand {
4343
///
4444
/// The file doesn't need to exist on disk, what matters is the extension of the file. Based on the extension, we know how to check the code.
4545
///
46-
/// Example: `echo 'let a;' | pglt_cli check --stdin-file-path=test.sql`
46+
/// Example: `echo 'let a;' | pgt_cli check --stdin-file-path=test.sql`
4747
#[bpaf(long("stdin-file-path"), argument("PATH"), hide_usage)]
4848
stdin_file_path: Option<String>,
4949

File renamed without changes.
File renamed without changes.

crates/pglt_cli/src/main.rs renamed to crates/pgt_cli/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! This is the main binary
22
3-
use pglt_cli::{
3+
use pgt_cli::{
44
CliDiagnostic, CliSession, PgltCommand, open_transport, pglt_command, setup_panic_handler,
55
to_color_mode,
66
};
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)