Home / Function/ ansi() — spring-boot Function Reference

ansi() — spring-boot Function Reference

Architecture documentation for the ansi() function in Shell.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  3eef67f4_d78b_ff15_3b9e_ab2a38d4af93["ansi()"]
  c66d24d9_92de_c608_c007_48fc4106b6aa["printBanner()"]
  c66d24d9_92de_c608_c007_48fc4106b6aa -->|calls| 3eef67f4_d78b_ff15_3b9e_ab2a38d4af93
  96cd8231_8dfa_f508_2806_734cb69e1f86["getPrompt()"]
  96cd8231_8dfa_f508_2806_734cb69e1f86 -->|calls| 3eef67f4_d78b_ff15_3b9e_ab2a38d4af93
  style 3eef67f4_d78b_ff15_3b9e_ab2a38d4af93 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

cli/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/Shell.java lines 168–170

	private AnsiString ansi(String text, Code... codes) {
		return new AnsiString(this.consoleReader.getTerminal()).append(text, codes);
	}

Domain

Subdomains

Frequently Asked Questions

What does ansi() do?
ansi() is a function in the spring-boot codebase.
What calls ansi()?
ansi() is called by 2 function(s): getPrompt, printBanner.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free