mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-10 14:55:00 +00:00
docs(usage): Format epilog (#1562)
This commit is contained in:
@@ -11,9 +11,7 @@ timestamp = datetime.today()
|
||||
timestamp_utc = datetime.now(timezone.utc).replace(tzinfo=timezone.utc)
|
||||
prowler_version = "3.0.0"
|
||||
html_logo_url = "https://github.com/prowler-cloud/prowler/"
|
||||
html_logo_img = (
|
||||
"https://github.com/prowler-cloud/prowler/raw/master/util/html/prowler-logo-new.png"
|
||||
)
|
||||
html_logo_img = "https://user-images.githubusercontent.com/3985464/113734260-7ba06900-96fb-11eb-82bc-d4f68a1e2710.png"
|
||||
|
||||
orange_color = "\033[38;5;208m"
|
||||
banner_color = "\033[1;92m"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import argparse
|
||||
import sys
|
||||
from argparse import RawTextHelpFormatter
|
||||
|
||||
from prowler.config.config import (
|
||||
default_output_directory,
|
||||
@@ -14,7 +15,13 @@ class ProwlerArgumentParser:
|
||||
# CLI Arguments
|
||||
self.parser = argparse.ArgumentParser(
|
||||
prog="prowler",
|
||||
epilog="To see the different available options on a specific provider, run: prowler {provider} -h|--help",
|
||||
formatter_class=RawTextHelpFormatter,
|
||||
epilog="""
|
||||
To see the different available options on a specific provider, run:
|
||||
prowler {provider} -h|--help
|
||||
|
||||
Detailed documentation at https://docs.prowler.cloud
|
||||
""",
|
||||
)
|
||||
# Default
|
||||
self.parser.add_argument(
|
||||
|
||||
Reference in New Issue
Block a user