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/Run.hs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/Command/Run.hs') diff --git a/src/Command/Run.hs b/src/Command/Run.hs index 28b35c3..677f8f1 100644 --- a/src/Command/Run.hs +++ b/src/Command/Run.hs @@ -27,6 +27,15 @@ instance Command RunCommand where type CommandArguments RunCommand = Maybe Text + commandUsage _ = T.pack $ unlines $ + [ "Usage: minici run" + , " run jobs for commits on current branch not yet in upstream branch" + , " or: minici run " + , " run jobs for commits on not yet in its upstream ref" + , " or: minici run .." + , " run jobs for commits in given range" + ] + commandInit _ _ = RunCommand . fromMaybe "HEAD" commandExec = cmdRun -- cgit v1.2.3