find_known_secrets/main.py
def process_docopts():  # type: ()->None
    """
    Take care of command line options
    """

    arguments = docopt(__doc__, version="Find Known Secrets {0}".format(__version__))

    logger.debug(arguments)
    # print(arguments)
    if arguments["here"]:
        # all default
        go()
    else:
        # user config
        files = arguments["--secrets"]

        searcher = Searcher(source=arguments["--source"], files=files)
        searcher.go()
def process_docopts():  # type: ()->None
    arguments = docopt(__doc__, version="Find Known Secrets {0}".format(__version__))

    logger.debug(arguments)
    # print(arguments)
    if arguments["here"]:
        # all default
        go()
    else:
        # user config
        files = arguments["--secrets"]

        searcher = Searcher(source=arguments["--source"], files=files)
        searcher.go()
def process_docopts ( ) : # type: ()->None arguments = docopt ( __doc__ , version = "Find Known Secrets {0}" . format ( __version__ ) ) logger . debug ( arguments ) # print(arguments) if arguments [ "here" ] : # all default go ( ) else : # user config files = arguments [ "--secrets" ] searcher = Searcher ( source = arguments [ "--source" ] , files = files ) searcher . go ( )
Take care of command line options
Take care of command line options