mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-18 09:35:50 +00:00
Added support for cs2d (2.0.5)
This commit is contained in:
parent
04bd6d9514
commit
5aaff8e1e0
6 changed files with 90 additions and 4 deletions
|
|
@ -1,8 +1,12 @@
|
|||
#!/usr/bin/env node
|
||||
|
||||
const argv = require('minimist')(process.argv.slice(2)),
|
||||
const Minimist = require('minimist'),
|
||||
Gamedig = require('..');
|
||||
|
||||
const argv = Minimist(process.argv.slice(2), {
|
||||
boolean: ['pretty','debug']
|
||||
});
|
||||
|
||||
const debug = argv.debug;
|
||||
delete argv.debug;
|
||||
const pretty = !!argv.pretty || debug;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue