def no_scripting()

in pcicrawler/cli.py [0:0]


def no_scripting():
    if not sys.stdout.isatty():
        warning = ('It looks like you may be writing a script that uses pcicrawler. '
                   'Please always use the --json flag from scripts, do NOT parse '
                   'output intended for humans!')
        print(warning)
        print(warning, file=sys.stderr)