From ccce704296792fb3efc7590e70b05cff52532258 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Tue, 30 Jul 2024 10:42:38 +0200 Subject: Help for subcommands --- src/Command.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Command.hs') diff --git a/src/Command.hs b/src/Command.hs index bb0b26f..ae24534 100644 --- a/src/Command.hs +++ b/src/Command.hs @@ -31,6 +31,8 @@ class CommandArgumentsType (CommandArguments c) => Command c where type CommandArguments c :: Type type CommandArguments c = () + commandUsage :: proxy c -> Text + commandInit :: CommandArgumentsType (CommandArguments c) => proxy c -> CommandOptions c -> CommandArguments c -> c commandExec :: c -> CommandExec () -- cgit v1.2.3