File: androgui.py

package info (click to toggle)
androguard 3.3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 62,444 kB
  • sloc: python: 24,366; xml: 3,187; java: 1,837; makefile: 228; sh: 12
file content (22 lines) | stat: -rwxr-xr-x 623 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env python3
"""Androguard Gui"""
from __future__ import print_function

import argparse

from androguard.core import androconf
from androguard.cli import androgui_main


def get_parser():
    parser = argparse.ArgumentParser(description="Androguard GUI")
    parser.add_argument("-d", "--debug", action="store_true", default=False)
    parser.add_argument("-i", "--input_file", default=None)
    parser.add_argument("-p", "--input_plugin", default=None)
    return parser


if __name__ == '__main__':
    parser = get_parser()
    args = parser.parse_args()
    androgui_main(args.input_file, args.input_plugin)