for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
import graph.client
import sys
def main():
client = graph.client.client(sys.argv[1:])
rules = client.search_rules_id()
if len(rules) > 1:
answers = client.run_gui_and_return_answers()
if answers is None:
print("You haven't got installed PyInquirer lib. "
"Please copy id rule with you want use and put it in command")
else:
client.prepare_graphs(answers)
client.prepare_graphs({'rules': [rules[0]['id_rule']]})
if __name__ == '__main__':
main()