Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/cli/src/subcommands/call.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use super::sql::parse_req;
pub fn cli() -> clap::Command {
clap::Command::new("call")
.about(format!(
"Invokes a reducer function in a database.\n\n{}",
"Invokes a reducer function in a database. {}",
UNSTABLE_WARNING
))
.arg(
Expand Down
2 changes: 1 addition & 1 deletion crates/cli/src/subcommands/describe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use spacetimedb_lib::sats;
pub fn cli() -> clap::Command {
clap::Command::new("describe")
.about(format!(
"Describe the structure of a database or entities within it.\n\n{}",
"Describe the structure of a database or entities within it. {}",
UNSTABLE_WARNING
))
.arg(
Expand Down
2 changes: 1 addition & 1 deletion crates/cli/src/subcommands/energy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use crate::util::{self, get_login_token_or_log_in, UNSTABLE_WARNING};
pub fn cli() -> clap::Command {
clap::Command::new("energy")
.about(format!(
"Invokes commands related to database budgets.\n\n{}",
"Invokes commands related to database budgets. {}",
UNSTABLE_WARNING
))
.args_conflicts_with_subcommands(true)
Expand Down
2 changes: 1 addition & 1 deletion crates/cli/src/subcommands/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use std::path::{Path, PathBuf};

pub fn cli() -> clap::Command {
clap::Command::new("init")
.about(format!("Initializes a new spacetime project.\n\n{}", UNSTABLE_WARNING))
.about(format!("Initializes a new spacetime project. {}", UNSTABLE_WARNING))
.arg(
Arg::new("project-path")
.value_parser(clap::value_parser!(PathBuf))
Expand Down
2 changes: 1 addition & 1 deletion crates/cli/src/subcommands/list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use tabled::{
pub fn cli() -> Command {
Command::new("list")
.about(format!(
"Lists the databases attached to an identity.\n\n{}",
"Lists the databases attached to an identity. {}",
UNSTABLE_WARNING
))
.arg(common_args::server().help("The nickname, host name or URL of the server from which to list databases"))
Expand Down
2 changes: 1 addition & 1 deletion crates/cli/src/subcommands/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub fn cli() -> Command {
.subcommand_required(true)
.subcommands(get_subcommands())
.about(format!(
"Manage the connection to the SpacetimeDB server.\n\n{}",
"Manage the connection to the SpacetimeDB server. {}",
UNSTABLE_WARNING
))
}
Expand Down
2 changes: 1 addition & 1 deletion crates/cli/src/subcommands/sql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use crate::util::{database_identity, get_auth_header, ResponseExt, UNSTABLE_WARN

pub fn cli() -> clap::Command {
clap::Command::new("sql")
.about(format!("Runs a SQL query on the database.\n\n{}", UNSTABLE_WARNING))
.about(format!("Runs a SQL query on the database. {}", UNSTABLE_WARNING))
.arg(
Arg::new("database")
.required(true)
Expand Down
2 changes: 1 addition & 1 deletion crates/cli/src/subcommands/subscribe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ use crate::Config;
pub fn cli() -> clap::Command {
clap::Command::new("subscribe")
.about(format!(
"Subscribe to SQL queries on the database.\n\n{}",
"Subscribe to SQL queries on the database. {}",
UNSTABLE_WARNING
))
.arg(
Expand Down
Loading