This repository contains a collection of codemod scripts for use with JSCodeshift that help update Bottender APIs.
npx bottender-codemod <transform> <path> [...options]
transform- name of transform, see available transforms below.path- files or directory to transform- use the
--dryoption for a dry-run and use--printto print the output for comparison
This will start an interactive wizard, and then run the specified transform.
Converts api calls and attributes on context into camel case.
npx bottender-codemod camelcase <path>