@yadurajfleetos/cli 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -30,10 +30,9 @@ export const nodesCommand = {
30
30
  // explicit empty JSON object keeps this body-less operation portable
31
31
  // through proxies and avoids Node fetch's implicit text/plain type.
32
32
  { body: {} });
33
- if (flags.json)
34
- return console.log(JSON.stringify(body, null, 2));
35
33
  console.log(`Run this on the machine you want to add:\n`);
36
34
  console.log(` ${c.cyan(body.install_command)}\n`);
35
+ console.log(c.dim(` Or with npm: npx @yadurajfleetos/cli nodes pair\n`));
37
36
  console.log(c.dim(`The token is single-use and expires ${relativeTime(body.expires_at)}.`));
38
37
  return;
39
38
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yadurajfleetos/cli",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "Fleet OS command-line interface for deploying and orchestrating services on user-owned hardware",
5
5
  "type": "module",
6
6
  "license": "MIT",