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

option() — spring-boot Function Reference

Architecture documentation for the option() function in OptionHandler.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 1 called by 5

Entity Profile

Dependency Diagram

graph TD
  a6dc86e5_eff8_52b5_97cf_7be58ac8b305["option()"]
  9007f598_7dfc_eab8_8948_33966d419167["options()"]
  9007f598_7dfc_eab8_8948_33966d419167 -->|calls| a6dc86e5_eff8_52b5_97cf_7be58ac8b305
  b9fe694a_da5c_60aa_7939_a1189b910328["options()"]
  b9fe694a_da5c_60aa_7939_a1189b910328 -->|calls| a6dc86e5_eff8_52b5_97cf_7be58ac8b305
  55419ff0_2fcb_6187_130c_98c9ed1030fc["projectGenerationOptions()"]
  55419ff0_2fcb_6187_130c_98c9ed1030fc -->|calls| a6dc86e5_eff8_52b5_97cf_7be58ac8b305
  0e48ba4d_8de0_c3e4_f579_df48c5c2a509["otherOptions()"]
  0e48ba4d_8de0_c3e4_f579_df48c5c2a509 -->|calls| a6dc86e5_eff8_52b5_97cf_7be58ac8b305
  16fbec98_c261_921a_da5a_8b8e11fbf448["optionHelp()"]
  16fbec98_c261_921a_da5a_8b8e11fbf448 -->|calls| a6dc86e5_eff8_52b5_97cf_7be58ac8b305
  b6d37865_5032_0d6c_4308_ed886521baa8["getParser()"]
  a6dc86e5_eff8_52b5_97cf_7be58ac8b305 -->|calls| b6d37865_5032_0d6c_4308_ed886521baa8
  style a6dc86e5_eff8_52b5_97cf_7be58ac8b305 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

cli/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/options/OptionHandler.java lines 78–80

	public OptionSpecBuilder option(String name, String description) {
		return getParser().accepts(name, description);
	}

Domain

Subdomains

Calls

Frequently Asked Questions

What does option() do?
option() is a function in the spring-boot codebase.
What does option() call?
option() calls 1 function(s): getParser.
What calls option()?
option() is called by 5 function(s): optionHelp, options, options, otherOptions, projectGenerationOptions.

Analyze Your Own Codebase

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

Try Supermodel Free