1
0

migrate_project_to_rx_chakra.py 477 B

12345678910111213
  1. """Migrate project to rx.chakra. I.e. switch usage of rx.<component> to rx.chakra.<component>."""
  2. import argparse
  3. if __name__ == "__main__":
  4. # parse args just for the help message (-h, etc)
  5. parser = argparse.ArgumentParser(
  6. description="Migrate project to rx.chakra. I.e. switch usage of rx.<component> to rx.chakra.<component>."
  7. )
  8. args = parser.parse_args()
  9. from reflex.utils.prerequisites import migrate_to_rx_chakra
  10. migrate_to_rx_chakra()