Expand home shorthand in CLI help around THELOUNGE_HOME
environment variable
This commit is contained in:
parent
0482747781
commit
52d5cb2311
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
const colors = require("colors/safe");
|
const colors = require("colors/safe");
|
||||||
const fs = require("fs");
|
const fs = require("fs");
|
||||||
|
const Helper = require("../helper");
|
||||||
const path = require("path");
|
const path = require("path");
|
||||||
|
|
||||||
let home;
|
let home;
|
||||||
@ -13,7 +14,7 @@ class Utils {
|
|||||||
"",
|
"",
|
||||||
" Environment variable:",
|
" Environment variable:",
|
||||||
"",
|
"",
|
||||||
` THELOUNGE_HOME Path for all configuration files and folders. Defaults to ${colors.green(Utils.defaultHome())}.`,
|
` THELOUNGE_HOME Path for all configuration files and folders. Defaults to ${colors.green(Helper.expandHome(Utils.defaultHome()))}.`,
|
||||||
"",
|
"",
|
||||||
].forEach((e) => console.log(e)); // eslint-disable-line no-console
|
].forEach((e) => console.log(e)); // eslint-disable-line no-console
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user