Skip to content

Commit 1578feb

Browse files
committed
Slightly better output on starting
1 parent 80f7452 commit 1578feb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

bin/dynamodb-admin.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,13 @@ parser.addArgument(['-p', '--port'], {
2929

3030
const args = parser.parseArgs()
3131

32-
console.log('dynamodb-admin')
33-
3432
const app = createServer();
3533
const port = process.env.PORT || args.port
3634
const server = app.listen(port);
3735
server.on('listening', () => {
3836
const address = server.address();
3937
const url = `http://0.0.0.0:${address.port}`;
40-
console.log(` listening on ${url}`);
38+
console.log(` dynamodb-admin listening on ${url}`);
4139

4240
if (args.open) {
4341
opn(url)

lib/backend.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ const createAwsConfig = () => {
3939
)
4040
}
4141

42+
console.log(clc.blackBright(` database endpoint: ${awsConfig.endpoint}\n`))
43+
4244
return awsConfig;
4345
};
4446

0 commit comments

Comments
 (0)