diff --git a/package.json b/package.json index 8a53751..4fe2974 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nodana/nodana-cli", - "version": "0.4.0", + "version": "0.4.1", "description": "Lightning node infrastructure as a service", "repository": { "type": "git", diff --git a/src/commands/node/list.ts b/src/commands/node/list.ts index 10d3ea9..fcd6c8e 100644 --- a/src/commands/node/list.ts +++ b/src/commands/node/list.ts @@ -28,7 +28,7 @@ const print = (nodes: any) => { console.log(chalk.yellow("ID:"), node.id); node.name && console.log(chalk.yellow("Name:"), node.name); console.log(chalk.yellow("Connection Url:"), node.connectionUrl); - console.log(chalk.yellow("Age"), node.age); + console.log(chalk.yellow("Age"), getDurationString(node.age)); console.log(chalk.yellow("Fee"), `${node.fee.toLocaleString()} sats`); console.log(chalk.yellow("Status"), node.status); console.log(chalk.yellow("Version"), node.version); diff --git a/src/index.ts b/src/index.ts index 35de06d..1c73010 100755 --- a/src/index.ts +++ b/src/index.ts @@ -4,7 +4,7 @@ import * as commands from "./commands"; const program = new Command(); -program.name("nodana-cli").version("0.4.0").description("Nodana CLI"); +program.name("nodana-cli").version("0.4.1").description("Nodana CLI"); program .command("init")