Toggle navigation
P3X GitList Snapshot
GitHub
Repo
Changelog
To do
Releases
Themes
Change log
Loading change log ...
To do ...
Loading todo ...
browsing:
e5483058824def664860590b17c0e0255296b349
Branches
master
Files
Commits
Log
Graph
Stats
ramdisk.git
src
command
save.js
RSS
Git
Fetch origin
Download
ZIP
TAR
Clone
Raw
View
History
Clone
SSH
HTTPS
Blames found: 9
Mode: javascript
Binary: false
Hang on, we reloading big blames...
a7998c18
const commander = require('commander'); // install commander
f9a09ec6
.command('save <uid>')
a7998c18
.description(` Save the p3x-ramdisk `)
724156a2
// .option('-d, --dry', 'Do not actually remove packages, just show what it does')
f9a09ec6
.action(async function (uid, options) {
a7998c18
const save = require('../index').save; try {
f9a09ec6
await save({ uid: uid });
724156a2
} catch (e) {
a7998c18
console.error(e.message); process.exit(1); } }) ;