UNPKG

p3x-ramdisk

Version:

💾 Linux RAM disk persistent with Systemd timer, service and suspend

21 lines (17 loc) • 401 B
const { program } = require('commander'); // install program .command('status <uid>') .description(` Status of p3x-ramdisk `) .action(async function (uid, options) { const status = require('../index').status; try { await status({uid: uid}, options); } catch (e) { console.error(e.message); process.exit(1); } }) ;