Migrate Structure

This commit is contained in:
Rob Winch
2023-08-03 11:11:12 -05:00
parent 2ba6990f72
commit 9b5ed3a9eb
96 changed files with 8 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
=== Command Context
The `CommandContext` interface gives access to a currently running
context. You can use it to get access to options:
====
[source, java, indent=0]
----
include::{snippets}/CommandContextSnippets.java[tag=snippet1]
----
====
If you need to print something into a shell, you can get a `Terminal`
and use its writer to print something:
====
[source, java, indent=0]
----
include::{snippets}/CommandContextSnippets.java[tag=snippet2]
----
====