def main()

in solutions_builder/cli/cli.py [0:0]


def main():
  try:
    print_highlight("Solutions Builder (version " +
                    typer.style(__version__, fg=typer.colors.CYAN, bold=True) +
                    ")\n")
    app()
    print()

  except Exception as e:
    if DEBUG:
      traceback.print_exc()
      print_error(f"Error: {e}")
    else:
      print_error(f"Error: {e}")
      print("\nTip: try adding 'DEBUG=true' to your environment variables to get more details.")
      print("E.g. DEBUG=true sb new your-project\n")

    return -1

  return 0