Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

Refactor diagnostics display and add format_heading helper

Maximilian Roosbe4d3ed6eb9b
diff --git a/src/commands/config.rs b/src/commands/config.rs
index 398e8171d..a00f9c043 100644
--- a/src/commands/config.rs
+++ b/src/commands/config.rs
@@ -9,8 +9,8 @@ use worktrunk::git::Repository;
use worktrunk::path::format_path_for_display;
use worktrunk::shell::Shell;
use worktrunk::styling::{
- error_message, format_toml, format_with_gutter, hint_message, info_message, progress_message,
- success_message, warning_message,
+ error_message, format_heading, format_toml, format_with_gutter, hint_message, info_message,
+ progress_message, success_message, warning_message,
};
use super::configure_shell::{ConfigAction, scan_shell_configs};
@@ -131,10 +131,6 @@ pub fn handle_config_show(full: bool) -> anyhow::Result<()> {
// Render shell integration status
render_shell_status(&mut show_output)?;
- show_output.push('\n');
-
- // Render binaries status
- render_binaries_status(&mut show_output)?;
// Display through pager (only if not in full mode, since full adds interactive output)
if full {
@@ -145,28 +141,57 @@ pub fn handle_config_show(full: bool) -> anyhow::Result<()> {
worktrunk::styling::eprintln!("{}", show_output);
}
- // Run full diagnostic checks if requested
+ // Run full diagnostic checks if requested (includes slow network calls)
if full {
- run_full_checks()?;
+ output::blank()?;
+ run_diagnostics()?;
}
Ok(())
}
-/// Run full diagnostic checks (commit generation test)
-fn run_full_checks() -> anyhow::Result<()> {
- output::print(info_message("Running diagnostic checks..."))?;
- output::blank()?;
+/// Run full diagnostic checks (CI tools, commit generation)
+fn run_diagnostics() -> anyhow::Result<()> {
+ use super::list::ci_status::{CiPlatform, CiToolsStatus, get_platform_for_repo};
+
+ output::heading("DIAGNOSTICS", None)?;
+
+ // Check CI tool based on detected platform
+ let platform = Repository::current()
+ .worktree_root()
+ .ok()
+ .and_then(|root| get_platform_for_repo(root.to_str()?));
+
+ match platform {
+ Some(CiPlatform::GitHub) => {
+ let ci_tools = CiToolsStatus::detect(None);
+ render_ci_tool_status(
+ "gh",
+ "GitHub",
+ ci_tools.gh_installed,
+ ci_tools.gh_authenticated,
+ )?;
+ }
+ Some(CiPlatform::GitLab) => {
+ let ci_tools = CiToolsStatus::detect(None);
+ render_ci_tool_status(
+ "glab",
+ "GitLab",
+ ci_tools.glab_installed,
+ ci_tools.glab_authenticated,
+ )?;
+ }
+ None => {
+ output::print(hint_message("CI status requires GitHub or GitLab remote"))?;
+ }
+ }
// Test commit generation
let config = WorktrunkConfig::load()?;
let commit_config = &config.commit_generation;
if !commit_config.is_configured() {
- output::print(warning_message("Commit generation is not configured"))?;
- output::print(hint_message(cformat!(
- "Add <bright-black>[commit-generation]</> section to enable LLM commit messages"
- )))?;
+ output::print(hint_message("Commit generation not configured"))?;
return Ok(());
}
@@ -180,24 +205,18 @@ fn run_full_checks() -> anyhow::Result<()> {
}
);
- output::print(progress_message(cformat!(
- "Testing commit generation with <bold>{command_display}</>"
- )))?;
-
match test_commit_generation(commit_config) {
Ok(message) => {
- output::print(success_message("Commit generation working"))?;
- output::blank()?;
- output::print(info_message("Sample generated message:"))?;
+ output::print(success_message(cformat!(
+ "Commit generation working (<bold>{command_display}</>)"
+ )))?;
output::gutter(format_with_gutter(&message, "", None))?;
}
Err(e) => {
- output::print(error_message("Commit generation failed"))?;
+ output::print(error_message(cformat!(
+ "Commit generation failed (<bold>{command_display}</>)"
+ )))?;
output::gutter(format_with_gutter(&e.to_string(), "", None))?;
- output::blank()?;
- output::print(hint_message(
- "Check that the command is installed and API keys are configured",
- ))?;
}
}
@@ -210,10 +229,7 @@ fn render_user_config(out: &mut String) -> anyhow::Result<()> {
writeln!(
out,
"{}",
- cformat!(
- "<cyan>USER CONFIG</> {}",
- format_path_for_display(&config_path)
- )
+ format_heading("USER CONFIG", Some(&format_path_for_display(&config_path)))
)?;
// Check if file exists
@@ -270,7 +286,10 @@ fn render_project_config(out: &mut String) -> anyhow::Result<()> {
writeln!(
out,
"{}",
- cformat!("<cyan><dim>PROJECT CONFIG</> Not in a git repository</>")
+ cformat!(
+ "<dim>{}</>",
+ format_heading("PROJECT CONFIG", Some("Not in a git repository"))
+ )
)?;
return Ok(());
}
@@ -280,9 +299,9 @@ fn render_project_config(out: &mut String) -> anyhow::Result<()> {
writeln!(
out,
"{}",
- cformat!(
- "<cyan>PROJECT CONFIG</> {}",
- format_path_for_display(&config_path)
+ format_heading(
+ "PROJECT CONFIG",
+ Some(&format_path_for_display(&config_path))
)
)?;
@@ -310,7 +329,7 @@ fn render_project_config(out: &mut String) -> anyhow::Result<()> {
}
fn render_shell_status(out: &mut String) -> anyhow::Result<()> {
- writeln!(out, "{}", cformat!("<cyan>SHELL INTEGRATION</>"))?;
+ writeln!(out, "{}", format_heading("SHELL INTEGRATION", None))?;
// Use the same detection logic as `wt config shell install`
let scan_result = match scan_shell_configs(None, true, "wt") {
@@ -429,7 +448,6 @@ fn render_shell_status(out: &mut String) -> anyhow::Result<()> {
}
fn render_ci_tool_status(
- out: &mut String,
tool: &str,
platform: &str,
installed: bool,
@@ -437,75 +455,19 @@ fn render_ci_tool_status(
) -> anyhow::Result<()> {
if installed {
if authenticated {
- writeln!(
- out,
- "{}",
- info_message(cformat!("<bold>{tool}</> installed & authenticated"))
- )?;
+ output::print(info_message(cformat!(
+ "<bold>{tool}</> installed & authenticated"
+ )))?;
} else {
- writeln!(
- out,
- "{}",
- warning_message(cformat!(
- "<bold>{tool}</> installed but not authenticated; run <bright-black>{tool} auth login</>"
- ))
- )?;
+ output::print(warning_message(cformat!(
+ "<bold>{tool}</> installed but not authenticated; run <bright-black>{tool} auth login</>"
+ )))?;
}
} else {
- writeln!(
- out,
- "{}",
- hint_message(cformat!(
- "<bold>{tool}</> not found ({platform} CI status unavailable)"
- ))
- )?;
- }
- Ok(())
-}
-
-fn render_binaries_status(out: &mut String) -> anyhow::Result<()> {
- use super::list::ci_status::{CiPlatform, CiToolsStatus, get_platform_for_repo};
-
- writeln!(out, "{}", cformat!("<cyan>BINARIES</>"))?;
-
- let ci_tools = CiToolsStatus::detect(None);
-
- // Detect platform from repo's remote URL (if in a repo)
- let platform = Repository::current()
- .worktree_root()
- .ok()
- .and_then(|root| get_platform_for_repo(root.to_str()?));
-
- // Only show the relevant CI tool based on detected platform
- // If platform is unknown, don't show any warnings (user may not need CI status)
- match platform {
- Some(CiPlatform::GitHub) => {
- render_ci_tool_status(
- out,
- "gh",
- "GitHub",
- ci_tools.gh_installed,
- ci_tools.gh_authenticated,
- )?;
- }
- Some(CiPlatform::GitLab) => {
- render_ci_tool_status(
- out,
- "glab",
- "GitLab",
- ci_tools.glab_installed,
- ci_tools.glab_authenticated,
- )?;
- }
- None => {
- writeln!(
- out,
- "{}",
- hint_message("CI status requires GitHub or GitLab remote")
- )?;
- }
+ output::print(hint_message(cformat!(
+ "<bold>{tool}</> not found ({platform} CI status unavailable)"
+ )))?;
}
-
Ok(())
}
@@ -1080,7 +1042,7 @@ fn handle_state_show_table(repo: &Repository) -> anyhow::Result<()> {
let mut out = String::new();
// Show default branch cache
- writeln!(out, "{}", cformat!("<cyan>DEFAULT BRANCH</>"))?;
+ writeln!(out, "{}", format_heading("DEFAULT BRANCH", None))?;
match repo.default_branch() {
Ok(branch) => write!(out, "{}", format_with_gutter(&branch, "", None))?,
Err(_) => write!(out, "{}", format_with_gutter("(not cached)", "", None))?,
@@ -1088,7 +1050,7 @@ fn handle_state_show_table(repo: &Repository) -> anyhow::Result<()> {
writeln!(out)?;
// Show previous branch (for `wt switch -`)
- writeln!(out, "{}", cformat!("<cyan>PREVIOUS BRANCH</>"))?;
+ writeln!(out, "{}", format_heading("PREVIOUS BRANCH", None))?;
match repo.get_switch_previous() {
Some(prev) => write!(out, "{}", format_with_gutter(&prev, "", None))?,
None => write!(out, "{}", format_with_gutter("(none)", "", None))?,
@@ -1096,7 +1058,7 @@ fn handle_state_show_table(repo: &Repository) -> anyhow::Result<()> {
writeln!(out)?;
// Show branch markers
- writeln!(out, "{}", cformat!("<cyan>BRANCH MARKERS</>"))?;
+ writeln!(out, "{}", format_heading("BRANCH MARKERS", None))?;
let markers = get_all_markers(repo);
if markers.is_empty() {
write!(out, "{}", format_with_gutter("(none)", "", None))?;
@@ -1120,7 +1082,7 @@ fn handle_state_show_table(repo: &Repository) -> anyhow::Result<()> {
writeln!(out)?;
// Show CI status cache
- writeln!(out, "{}", cformat!("<cyan>CI STATUS CACHE</>"))?;
+ writeln!(out, "{}", format_heading("CI STATUS CACHE", None))?;
let mut entries = CachedCiStatus::list_all(repo);
// Sort by age (most recent first), then by branch name for ties
entries.sort_by(|a, b| {
@@ -1155,7 +1117,11 @@ fn handle_state_show_table(repo: &Repository) -> anyhow::Result<()> {
// Show log files
let git_common_dir = repo.git_common_dir()?;
let log_dir = git_common_dir.join("wt-logs");
- writeln!(out, "{}", cformat!("<cyan>LOG FILES</> @ .git/wt-logs"))?;
+ writeln!(
+ out,
+ "{}",
+ format_heading("LOG FILES", Some("@ .git/wt-logs"))
+ )?;
if !log_dir.exists() {
write!(out, "{}", format_with_gutter("(none)", "", None))?;
diff --git a/src/commands/standalone.rs b/src/commands/standalone.rs
index 6d4697f41..59bbdbdfb 100644
--- a/src/commands/standalone.rs
+++ b/src/commands/standalone.rs
@@ -6,8 +6,8 @@ use worktrunk::config::{CommandConfig, ProjectConfig, WorktrunkConfig};
use worktrunk::git::Repository;
use worktrunk::path::format_path_for_display;
use worktrunk::styling::{
- INFO_EMOJI, PROMPT_EMOJI, format_bash_with_gutter, format_with_gutter, hint_message,
- info_message, progress_message, success_message,
+ INFO_EMOJI, PROMPT_EMOJI, format_bash_with_gutter, format_heading, format_with_gutter,
+ hint_message, info_message, progress_message, success_message,
};
use super::command_executor::CommandContext;
@@ -714,12 +714,14 @@ fn render_user_hooks(
writeln!(
out,
"{}",
- cformat!(
- "<cyan>USER HOOKS</> {}",
- config_path
- .as_ref()
- .map(|p| format_path_for_display(p))
- .unwrap_or_else(|| "(not found)".to_string())
+ format_heading(
+ "USER HOOKS",
+ Some(
+ &config_path
+ .as_ref()
+ .map(|p| format_path_for_display(p))
+ .unwrap_or_else(|| "(not found)".to_string())
+ )
)
)?;
@@ -771,9 +773,9 @@ fn render_project_hooks(
writeln!(
out,
"{}",
- cformat!(
- "<cyan>PROJECT HOOKS</> {}",
- format_path_for_display(&config_path)
+ format_heading(
+ "PROJECT HOOKS",
+ Some(&format_path_for_display(&config_path))
)
)?;
diff --git a/src/output/global.rs b/src/output/global.rs
index b365bf03c..cd7dfb9a3 100644
--- a/src/output/global.rs
+++ b/src/output/global.rs
@@ -168,6 +168,22 @@ pub fn table(content: impl Into<String>) -> io::Result<()> {
stderr().flush()
}
+/// Output a section heading (cyan uppercase text, no emoji)
+///
+/// Used for organizing output into distinct sections (e.g., `wt config show`, `wt state show`).
+/// Section headings are visual separators, not status messages.
+///
+/// # Example
+/// ```rust,ignore
+/// output::heading("BINARIES", None)?;
+/// output::heading("USER CONFIG", Some("~/.config/wt.toml"))?;
+/// ```
+pub fn heading(title: &str, suffix: Option<&str>) -> io::Result<()> {
+ use worktrunk::styling::format_heading;
+ eprintln!("{}", format_heading(title, suffix));
+ stderr().flush()
+}
+
/// Request directory change (for shell integration)
///
/// In directive mode, buffers the path for the final shell script.
diff --git a/src/output/mod.rs b/src/output/mod.rs
index 83fea126b..970f730a9 100644
--- a/src/output/mod.rs
+++ b/src/output/mod.rs
@@ -55,7 +55,7 @@ pub mod handlers;
// Re-export the public API
pub use global::{
OutputMode, blank, change_directory, data, execute, flush, flush_for_stderr_prompt, gutter,
- initialize, print, shell_integration_hint, table, terminate_output,
+ heading, initialize, print, shell_integration_hint, table, terminate_output,
};
// Re-export output handlers
pub use handlers::{
diff --git a/src/styling/constants.rs b/src/styling/constants.rs
index b810171df..61fd436f4 100644
--- a/src/styling/constants.rs
+++ b/src/styling/constants.rs
@@ -127,3 +127,26 @@ pub fn progress_message(content: impl AsRef<str>) -> String {
pub fn info_message(content: impl AsRef<str>) -> String {
cformat!("{INFO_EMOJI} {}", content.as_ref())
}
+
+/// Format a section heading (cyan uppercase text, no emoji)
+///
+/// Used for organizing output into distinct sections. Headings can have
+/// optional suffix info (e.g., path, location).
+///
+/// ```
+/// use worktrunk::styling::format_heading;
+///
+/// // Plain heading
+/// let h = format_heading("BINARIES", None);
+/// // => "BINARIES"
+///
+/// // Heading with suffix
+/// let h = format_heading("USER CONFIG", Some("~/.config/wt.toml"));
+/// // => "USER CONFIG ~/.config/wt.toml"
+/// ```
+pub fn format_heading(title: &str, suffix: Option<&str>) -> String {
+ match suffix {
+ Some(s) => cformat!("<cyan>{}</> {}", title, s),
+ None => cformat!("<cyan>{}</>", title),
+ }
+}
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_full_command_not_found.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_full_command_not_found.snap
index 1dde1b818..71b47e0c2 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_full_command_not_found.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_full_command_not_found.snap
@@ -44,17 +44,12 @@ exit_code: 0
βšͺ Skipped zsh; ~/.zshrc not found
βšͺ Skipped fish; ~/.config/fish/conf.d not found
-BINARIES
-πŸ’‘ CI status requires GitHub or GitLab remote
-
-βšͺ Running diagnostic checks...
-πŸ”„ Testing commit generation with nonexistent-llm-command-12345 -m test-model
-❌ Commit generation failed
+DIAGNOSTICS
+πŸ’‘ CI status requires GitHub or GitLab remote
+❌ Commit generation failed (nonexistent-llm-command-12345 -m test-model)
  ❌ Commit generation command failed
    Failed to spawn LLM command
 
  βšͺ Ran command:
    nonexistent-llm-command-12345 -m test-model
-
-πŸ’‘ Check that the command is installed and API keys are configured
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_full_not_configured.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_full_not_configured.snap
index ff321700f..28e3912b7 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_full_not_configured.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_full_not_configured.snap
@@ -40,10 +40,7 @@ exit_code: 0
βšͺ Skipped zsh; ~/.zshrc not found
βšͺ Skipped fish; ~/.config/fish/conf.d not found
-BINARIES
-πŸ’‘ CI status requires GitHub or GitLab remote
-
-βšͺ Running diagnostic checks...
-🟑 Commit generation is not configured
-πŸ’‘ Add [commit-generation] section to enable LLM commit messages
+DIAGNOSTICS
+πŸ’‘ CI status requires GitHub or GitLab remote
+πŸ’‘ Commit generation not configured
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_github_remote.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_github_remote.snap
index bc8075591..a2d01cc0f 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_github_remote.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_github_remote.snap
@@ -38,6 +38,3 @@ exit_code: 0
βšͺ Skipped bash; ~/.bashrc not found
βšͺ Skipped zsh; ~/.zshrc not found
βšͺ Skipped fish; ~/.config/fish/conf.d not found
-
-BINARIES
-🟑 gh installed but not authenticated; run gh auth login
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_gitlab_remote.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_gitlab_remote.snap
index fe472ce1e..a2d01cc0f 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_gitlab_remote.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_gitlab_remote.snap
@@ -38,6 +38,3 @@ exit_code: 0
βšͺ Skipped bash; ~/.bashrc not found
βšͺ Skipped zsh; ~/.zshrc not found
βšͺ Skipped fish; ~/.config/fish/conf.d not found
-
-BINARIES
-🟑 glab installed but not authenticated; run glab auth login
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_no_project_config.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_no_project_config.snap
index a0d60e425..a2d01cc0f 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_no_project_config.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_no_project_config.snap
@@ -38,6 +38,3 @@ exit_code: 0
βšͺ Skipped bash; ~/.bashrc not found
βšͺ Skipped zsh; ~/.zshrc not found
βšͺ Skipped fish; ~/.config/fish/conf.d not found
-
-BINARIES
-πŸ’‘ CI status requires GitHub or GitLab remote
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_outside_git_repo.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_outside_git_repo.snap
index b693a1be8..7b0f43fef 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_outside_git_repo.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_outside_git_repo.snap
@@ -25,12 +25,9 @@ exit_code: 0
USER CONFIG ~/.config/worktrunk/config.toml
  worktree-path = "../{{ main_worktree }}.{{ branch }}"
-PROJECT CONFIG Not in a git repository
+PROJECT CONFIG Not in a git repository
SHELL INTEGRATION
βšͺ Skipped bash; ~/.bashrc not found
βšͺ Skipped zsh; ~/.zshrc not found
βšͺ Skipped fish; ~/.config/fish/conf.d not found
-
-BINARIES
-πŸ’‘ CI status requires GitHub or GitLab remote
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_partial_shell_config_shows_hint.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_partial_shell_config_shows_hint.snap
index cedca2e79..59027ede1 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_partial_shell_config_shows_hint.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_partial_shell_config_shows_hint.snap
@@ -41,6 +41,3 @@ exit_code: 0
βšͺ Skipped fish; ~/.config/fish/conf.d not found
πŸ’‘ wt config shell install enables shell integration
-
-BINARIES
-πŸ’‘ CI status requires GitHub or GitLab remote
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_warns_unknown_project_keys.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_warns_unknown_project_keys.snap
index b5f21ca06..ab7bfd7c1 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_warns_unknown_project_keys.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_warns_unknown_project_keys.snap
@@ -40,6 +40,3 @@ exit_code: 0
βšͺ Skipped bash; ~/.bashrc not found
βšͺ Skipped zsh; ~/.zshrc not found
βšͺ Skipped fish; ~/.config/fish/conf.d not found
-
-BINARIES
-πŸ’‘ CI status requires GitHub or GitLab remote
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_warns_unknown_user_keys.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_warns_unknown_user_keys.snap
index b4c9ccd8d..d05de29eb 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_warns_unknown_user_keys.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_warns_unknown_user_keys.snap
@@ -42,6 +42,3 @@ exit_code: 0
βšͺ Skipped bash; ~/.bashrc not found
βšͺ Skipped zsh; ~/.zshrc not found
βšͺ Skipped fish; ~/.config/fish/conf.d not found
-
-BINARIES
-πŸ’‘ CI status requires GitHub or GitLab remote
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_with_project_config.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_with_project_config.snap
index 8b18875a4..b616e787d 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_with_project_config.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_with_project_config.snap
@@ -44,6 +44,3 @@ exit_code: 0
βšͺ Skipped bash; ~/.bashrc not found
βšͺ Skipped zsh; ~/.zshrc not found
βšͺ Skipped fish; ~/.config/fish/conf.d not found
-
-BINARIES
-πŸ’‘ CI status requires GitHub or GitLab remote
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_zsh_compinit_correct_order.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_zsh_compinit_correct_order.snap
index d2be713f0..94bdbe03a 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_zsh_compinit_correct_order.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_zsh_compinit_correct_order.snap
@@ -39,6 +39,3 @@ exit_code: 0
βšͺ Already configured shell extension & completions for zsh @ ~/.zshrc
βšͺ Skipped bash; ~/.bashrc not found
βšͺ Skipped fish; ~/.config/fish/conf.d not found
-
-BINARIES
-πŸ’‘ CI status requires GitHub or GitLab remote
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_zsh_compinit_warning.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_zsh_compinit_warning.snap
index f8477c9b3..953578e81 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_zsh_compinit_warning.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_zsh_compinit_warning.snap
@@ -41,6 +41,3 @@ exit_code: 0
  autoload -Uz compinit && compinit
βšͺ Skipped bash; ~/.bashrc not found
βšͺ Skipped fish; ~/.config/fish/conf.d not found
-
-BINARIES
-πŸ’‘ CI status requires GitHub or GitLab remote
diff --git a/tests/snapshots/integration__integration_tests__internal_flag__config_show_with_internal_flag.snap b/tests/snapshots/integration__integration_tests__internal_flag__config_show_with_internal_flag.snap
index 67816f4b8..85b2b6e28 100644
--- a/tests/snapshots/integration__integration_tests__internal_flag__config_show_with_internal_flag.snap
+++ b/tests/snapshots/integration__integration_tests__internal_flag__config_show_with_internal_flag.snap
@@ -39,6 +39,3 @@ exit_code: 0
βšͺ Skipped bash; ~/.bashrc not found
βšͺ Skipped zsh; ~/.zshrc not found
βšͺ Skipped fish; ~/.config/fish/conf.d not found
-
-BINARIES
-πŸ’‘ CI status requires GitHub or GitLab remote