1
1
mirror of https://github.com/leon-ai/leon.git synced 2025-01-06 01:28:56 +03:00
leon/scripts/generate/run-generate-skills-endpoints.js
2022-02-16 22:28:05 +08:00

15 lines
301 B
JavaScript

import log from '@/helpers/log'
import generateSkillsEndpoints from './generate-skills-endpoints'
/**
* Execute the generating skills endpoints script
*/
(async () => {
try {
await generateSkillsEndpoints()
} catch (e) {
log.error(`Failed to generate skills endpoints: ${e}`)
}
})()