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

options() — spring-boot Function Reference

Architecture documentation for the options() function in InitCommand.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  b9fe694a_da5c_60aa_7939_a1189b910328["options()"]
  72c188a0_4103_8650_a18d_d0e58bae59e0["options()"]
  b9fe694a_da5c_60aa_7939_a1189b910328 -->|calls| 72c188a0_4103_8650_a18d_d0e58bae59e0
  a6dc86e5_eff8_52b5_97cf_7be58ac8b305["option()"]
  b9fe694a_da5c_60aa_7939_a1189b910328 -->|calls| a6dc86e5_eff8_52b5_97cf_7be58ac8b305
  55419ff0_2fcb_6187_130c_98c9ed1030fc["projectGenerationOptions()"]
  b9fe694a_da5c_60aa_7939_a1189b910328 -->|calls| 55419ff0_2fcb_6187_130c_98c9ed1030fc
  0e48ba4d_8de0_c3e4_f579_df48c5c2a509["otherOptions()"]
  b9fe694a_da5c_60aa_7939_a1189b910328 -->|calls| 0e48ba4d_8de0_c3e4_f579_df48c5c2a509
  style b9fe694a_da5c_60aa_7939_a1189b910328 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

cli/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/InitCommand.java lines 157–166

		@Override
		protected void options() {
			this.target = option(Arrays.asList("target"), "URL of the service to use").withRequiredArg()
				.defaultsTo(ProjectGenerationRequest.DEFAULT_SERVICE_URL);
			this.listCapabilities = option(Arrays.asList("list"),
					"List the capabilities of the service. Use it to discover the "
							+ "dependencies and the types that are available");
			projectGenerationOptions();
			otherOptions();
		}

Domain

Subdomains

Frequently Asked Questions

What does options() do?
options() is a function in the spring-boot codebase.
What does options() call?
options() calls 4 function(s): option, options, otherOptions, projectGenerationOptions.

Analyze Your Own Codebase

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

Try Supermodel Free