[[using-shell-options-basics]]
=== Basics
ifndef::snippets[:snippets: ../../test/java/org/springframework/shell/docs]

This section gives a generic idea how an option can be defined. Following
sections, beyond basics, discuss more about how various option behaviour
can be accomplished for a particular use case.

include::using-shell-options-basics-programmatic.adoc[]

include::using-shell-options-basics-annotation.adoc[]

include::using-shell-options-basics-legacyannotation.adoc[]
