mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 07:09:35 +02:00
move debug-cli into tools dir
This commit is contained in:
parent
c6de12a707
commit
0bcc9016cd
2 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
const mri = require('mri')
|
const mri = require('mri')
|
||||||
const {join} = require('path')
|
const {join} = require('path')
|
||||||
const createClient = require('..')
|
const createClient = require('../..')
|
||||||
|
|
||||||
const showError = (err) => {
|
const showError = (err) => {
|
||||||
console.error(err)
|
console.error(err)
|
||||||
|
@ -39,7 +39,7 @@ const parseArgs = [
|
||||||
|
|
||||||
const argv = mri(process.argv.slice(2))
|
const argv = mri(process.argv.slice(2))
|
||||||
|
|
||||||
const profile = require(join('../p', argv._[0]))
|
const profile = require(join('../../p', argv._[0]))
|
||||||
const client = createClient(profile, 'hafas-client debug CLI')
|
const client = createClient(profile, 'hafas-client debug CLI')
|
||||||
|
|
||||||
const fnName = argv._[1]
|
const fnName = argv._[1]
|
Loading…
Add table
Reference in a new issue