Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def main():
""" standalone line script """
print("Ontospy " + VERSION)
Shell()._clear_screen()
print(Style.BRIGHT + "** Ontospy Interactive Ontology Browser " + VERSION + " **" + Style.RESET_ALL)
# manager.get_or_create_home_repo()
Shell().cmdloop()
raise SystemExit(1)
def launch_shell(source=None):
Shell()._clear_screen()
print(STARTUP_MESSAGE)
if source and len(source) > 1:
click.secho('Note: currently only one argument can be passed', fg='red')
uri = source[0] if source else None
Shell(uri).cmdloop()
raise SystemExit(1)
def launch_shell(source=None):
Shell()._clear_screen()
print(STARTUP_MESSAGE)
if source and len(source) > 1:
click.secho('Note: currently only one argument can be passed', fg='red')
uri = source[0] if source else None
Shell(uri).cmdloop()
raise SystemExit(1)
def main():
""" standalone line script """
print("Ontospy " + VERSION)
Shell()._clear_screen()
print(Style.BRIGHT + "** Ontospy Interactive Ontology Browser " + VERSION + " **" + Style.RESET_ALL)
# manager.get_or_create_home_repo()
Shell().cmdloop()
raise SystemExit(1)