added UIApp and renamed CLIBase

This commit is contained in:
2023-01-28 03:55:32 +01:00
parent b54a25eec6
commit cb1f892e6d
7 changed files with 41 additions and 22 deletions

View File

@@ -1,11 +1,14 @@
package bin;
import lib.cli.TermHandle;
import lib.cli.CLIBase;
import lib.cli.CLIApp;
using tink.CoreApi;
class HelloWorld extends CLIBase {
class HelloWorld extends CLIApp {
public function new() {}
public function invoke(handle: TermHandle):Future<Bool> {
var world:String = "world";
if (handle.args.length > 0) {