vegekul-sync
v1.4.0
Published
Sync frontend/backend
Maintainers
Readme
Vegekul-sync
route-sheet-sync
CLI tool to sync frontend/backend route info to Google Sheets.
Command
Options
- source: laravel or react
- sheet: Name of the sheet
- spreadsheet-id: Id of the sheet to post save route list.
- file: The input of the routes (url json or file)
- debug: 1 create file, 0 upload to the GSheet.
npm run route-sync:laravel -- --file=http://bpaas.x.test/api/docs/swagger --sheetName=xxx --sheetId xxx
npm run route-sync:react -- --file=http://localhost:5173/routes.json --sheetName=BPass-FE --sheetId xxxxDebug
npm run route-sync:laravel:debug -- --file=http://bpaas.x.test/api/docs/swagger
npm run route-sync:laravel:debug -- --file=http://ec.x.test/api/docs/swagger
npm run route-sync:react:debug -- --file=http://localhost:5173/routes.json