Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mxrch
GitHub Repository: mxrch/GHunt
Path: blob/master/ghunt/globals.py
252 views
1
# This file is only intended to serve global variables at a project-wide level.
2
3
4
def init_globals():
5
from ghunt.objects.utils import TMPrinter
6
from rich.console import Console
7
8
global config, tmprinter, rc
9
10
from ghunt import config
11
tmprinter = TMPrinter()
12
rc = Console(highlight=False) # Rich Console
13