forked from M3-Academy/m3-academy-template-vtexio
9 lines
200 B
JavaScript
9 lines
200 B
JavaScript
|
import { exec } from "child_process";
|
||
|
import { promisify } from "util";
|
||
|
|
||
|
const execPromise = promisify(exec);
|
||
|
|
||
|
export const vtexWorkspaceLogin = () => {
|
||
|
return execPromise(`vtex local token`);
|
||
|
};
|