Toggle navigation
P3X GitList Snapshot
GitHub
Repo
Changelog
To do
Releases
Themes
Change log
Loading change log ...
To do ...
Loading todo ...
browsing:
24e45c56fa0eab0cfa1e5854c96d92df62883ef1
Branches
master
Files
Commits
Log
Graph
Stats
ramdisk.git
src
command
status.js
RSS
Git
Fetch origin
Download
ZIP
TAR
Clone
Raw
View
History
Clone
SSH
HTTPS
Blames found: 11
Mode: javascript
Binary: false
Hang on, we reloading big blames...
7ae7aa94
const { program } = require('commander');
a7998c18
// install
7ae7aa94
program
f9a09ec6
.command('status <uid>')
a7998c18
.description(`
7ae7aa94
Status of p3x-ramdisk
a7998c18
`)
f9a09ec6
.action(async function (uid, options) {
a7998c18
const status = require('../index').status; try {
724156a2
await status({uid: uid}, options); } catch (e) {
a7998c18
console.error(e.message); process.exit(1); } }) ;