@@ -0,0 +1,916 @@
+package picocli.examples.parseresult;%0A%0Aimport picocli.CommandLine;%0Aimport picocli.CommandLine.Command;%0Aimport picocli.CommandLine.Model.CommandSpec;%0Aimport picocli.CommandLine.Option;%0Aimport picocli.CommandLine.Parameters;%0Aimport picocli.CommandLine.ParseResult;%0Aimport picocli.CommandLine.Spec;%0A%0Aimport java.util.List;%0A%0A@Command(name = %22myapp%22, mixinStandardHelpOptions = true, version = %22myapp 0.1%22)%0Apublic class ParseResultDemo implements Runnable %7B%0A    @Spec CommandSpec spec;%0A%0A    @Option(names = %22-x%22)%0A    int x;%0A%0A    @Parameters%0A    List%3CString%3E positionalParams;%0A%0A    @Override%0A    public void run() %7B%0A        ParseResult parseResult = spec.commandLine().getParseResult();%0A%0A        System.out.println(parseResult.expandedArgs());%0A        System.out.println(parseResult.originalArgs());%0A    %7D%0A%0A    public static void main(String%5B%5D args) %7B%0A        new CommandLine(new ParseResultDemo()).execute(args);%0A    %7D%0A%7D%0A

Add example for accessing args from application