Learn Argot
This section is organised the way Diátaxis suggests, because the four things documentation does are genuinely different jobs:
| For when you want to | |
|---|---|
| Tutorial | learn Argot by building something, start to finish |
| How-to guides | accomplish one specific task you already have in mind |
| Explanation | understand why Argot works the way it does |
| Reference | look up an exact signature or default |
New to Argot? Start with your first CLI. It takes about ten minutes and ends with a working program.
Every code block here is compiled
The examples on this site are regions of real Kotlin files that live in the repository and are compiled — and run — on every change, and again against each published release before these pages are deployed. If a snippet appears here, it worked.