From 86034fea378970d2f09d97fc00f65f0f02f9a171 Mon Sep 17 00:00:00 2001 From: priv <140729444+scriptprivate@users.noreply.github.com> Date: Wed, 14 Aug 2024 21:43:32 -0300 Subject: [PATCH] feat(utils): add Helper module for displaying command help --- lib/SecurityGate/Utils/Helper.pm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 lib/SecurityGate/Utils/Helper.pm diff --git a/lib/SecurityGate/Utils/Helper.pm b/lib/SecurityGate/Utils/Helper.pm new file mode 100644 index 0000000..263ef91 --- /dev/null +++ b/lib/SecurityGate/Utils/Helper.pm @@ -0,0 +1,22 @@ +package SecurityGate::Utils::Helper { + use strict; + use warnings; + + sub new { + return " + \rSecurity Gate v0.0.3 + \rCore Commands + \r============== + \r\tCommand Description + \r\t------- ----------- + \r\t-t, --token GitHub token + \r\t-r, --repo GitHub repository + \r\t-c, --critical Critical severity limit + \r\t-h, --high High severity limit + \r\t-m, --medium Medium severity limit + \r\t-l, --low Low severity limit + \n\n"; + } +} + +1;