diff --git a/cli.js b/cli.js index c5832d9..19316d4 100644 --- a/cli.js +++ b/cli.js @@ -12,7 +12,7 @@ const apiTemplate = `import { Api } from 'web-soft-client'; */ export let api = {}; -export const loadApi = async () => { +export const loadApi = async (config = {}) => { const loadedApi = new Api(config); await loadedApi.build(); api = loadedApi;