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

optionHelp() — spring-boot Function Reference

Architecture documentation for the optionHelp() function in OptionParsingCommandTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  16fbec98_c261_921a_da5a_8b8e11fbf448["optionHelp()"]
  d5406977_4070_e970_7d70_f8e8ce95d38f["OptionHandler()"]
  16fbec98_c261_921a_da5a_8b8e11fbf448 -->|calls| d5406977_4070_e970_7d70_f8e8ce95d38f
  a6dc86e5_eff8_52b5_97cf_7be58ac8b305["option()"]
  16fbec98_c261_921a_da5a_8b8e11fbf448 -->|calls| a6dc86e5_eff8_52b5_97cf_7be58ac8b305
  267465bb_5ed2_3cd4_6ab7_5db2cc3d991c["TestOptionParsingCommand()"]
  16fbec98_c261_921a_da5a_8b8e11fbf448 -->|calls| 267465bb_5ed2_3cd4_6ab7_5db2cc3d991c
  ea03572a_8b85_ca35_f3b9_f638094d77cb["getHelp()"]
  16fbec98_c261_921a_da5a_8b8e11fbf448 -->|calls| ea03572a_8b85_ca35_f3b9_f638094d77cb
  style 16fbec98_c261_921a_da5a_8b8e11fbf448 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

cli/spring-boot-cli/src/test/java/org/springframework/boot/cli/command/OptionParsingCommandTests.java lines 32–38

	@Test
	void optionHelp() {
		OptionHandler handler = new OptionHandler();
		handler.option("bar", "Bar");
		OptionParsingCommand command = new TestOptionParsingCommand("foo", "Foo", handler);
		assertThat(command.getHelp()).contains("--bar");
	}

Domain

Subdomains

Calls

Frequently Asked Questions

What does optionHelp() do?
optionHelp() is a function in the spring-boot codebase.
What does optionHelp() call?
optionHelp() calls 4 function(s): OptionHandler, TestOptionParsingCommand, getHelp, option.

Analyze Your Own Codebase

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

Try Supermodel Free