UNPKG

366 BJavaScriptView Raw
1const { remove } = require('../sdk');
2const { getAPIKey } = require('./userConf');
3
4/**
5 * Removes the function from the Binaris cloud.
6 *
7 * @param {string} funcName - the name of the function to remove
8 */
9const removeCLI = async function removeCLI(funcName) {
10 const apiKey = await getAPIKey();
11 return remove(funcName, apiKey);
12};
13
14module.exports = removeCLI;