-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add `List<String>` overloads to `CliktCommand.parse` and `main` * Add `err` parameter to `TermUi.echo` * Add `error` property to `Abort`
- Loading branch information
Showing
12 changed files
with
73 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
docs/api/clikt/com.github.ajalt.clikt.core/-abort/error.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<HTML> | ||
<HEAD> | ||
<meta charset="UTF-8"> | ||
<title>Abort.error - clikt</title> | ||
<link rel="stylesheet" href="..\..\..\style.css"> | ||
</HEAD> | ||
<BODY> | ||
<a href="../../index.html">clikt</a> / <a href="../index.html">com.github.ajalt.clikt.core</a> / <a href="index.html">Abort</a> / <a href="./error.html">error</a><br/> | ||
<br/> | ||
<h1>error</h1> | ||
<a name="com.github.ajalt.clikt.core.Abort$error"></a> | ||
<code><span class="keyword">val </span><span class="identifier">error</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> | ||
<p>If true, print "Aborted" and exit with an error code. Otherwise, exit with no error code.</p> | ||
<h3>Property</h3> | ||
<p><a name="error"></a> | ||
<code>error</code> - If true, print "Aborted" and exit with an error code. Otherwise, exit with no error code.</p> | ||
</BODY> | ||
</HTML> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.