mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-10-22 05:52:20 +00:00
Implement cli version of z2m (#5034)
This commit is contained in:
1 parent
5f7553f624
commit
c1f7ce7389
2 files changed
+7
No files matched your search
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env node
|
||||
const path = require('path');
|
||||
process.env['ZIGBEE2MQTT_DATA'] = process.env['ZIGBEE2MQTT_DATA'] || path.join(process.env['HOME'], '.z2m');
|
||||
require('./index');
|
||||
@@ -75,5 +75,8 @@
|
||||
"collectCoverageFrom": [
|
||||
"lib/**"
|
||||
]
|
||||
},
|
||||
"bin": {
|
||||
"zigbee2mqtt": "./cli.js"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user