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`);
|
||
|
};
|