1 | const { remove } = require('../sdk');
|
2 | const { 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 | */
|
9 | const removeCLI = async function removeCLI(funcName) {
|
10 | const apiKey = await getAPIKey();
|
11 | return remove(funcName, apiKey);
|
12 | };
|
13 |
|
14 | module.exports = removeCLI;
|