Skip to content

Commit 06717cf

Browse files
authored
Merge pull request #11 from Bit-Nation/feature/dev_server
Feature/dev server
2 parents 373876e + 523d3eb commit 06717cf

File tree

7 files changed

+1628
-139
lines changed

7 files changed

+1628
-139
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: node_js
22
node_js:
33
- "8"
4-
scrips:
4+
script:
55
- npm install
66
- npm run eslint
77
- npm run test

index.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ const {
1414
buildDAppSchema,
1515
} = require('./src/promtSchema');
1616

17+
const { loggerProtocolFactory } = require('./src/protocols');
18+
1719
program.version(require(`./package.json`).version, '-v, --version');
1820

1921
program
@@ -64,6 +66,15 @@ program
6466
.catch(err => console.error(err.message));
6567
});
6668

69+
program
70+
.command('pangea:log')
71+
.description('Create node that receives logs from panthalassa')
72+
.action(() => {
73+
loggerProtocolFactory()
74+
.then()
75+
.catch(console.log);
76+
});
77+
6778
program.parse(process.argv);
6879
if (!process.argv.slice(2).length) {
6980
program.help();

0 commit comments

Comments
 (0)