Skip to content

Instantly share code, notes, and snippets.

View SowingSadness's full-sized avatar
👯‍♀️
Not today

Kirill SowingSadness

👯‍♀️
Not today
View GitHub Profile
@semeleven
semeleven / common.js
Last active May 31, 2024 10:03
Хелперы для плохометров
const fs = require("fs");
const path = require("path");
const util = require("util");
const { exec } = require("child_process");
const yargs = require("yargs/yargs");
const { hideBin } = require("yargs/helpers");
const execAsync = util.promisify(exec);
function commonYargs() {
const argv = yargs(hideBin(process.argv))