Skip to content

Commit

Permalink
show instance dir with '@session info' command (#561)
Browse files Browse the repository at this point in the history
  • Loading branch information
curtisman authored Jan 16, 2025
1 parent 33c594f commit d44938c
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,9 @@ class SessionInfoCommandHandler implements CommandHandlerNoParams {
)
: [];
displayResult((log: (message?: string) => void) => {
log(`${chalk.bold("Instance Dir:")} ${systemContext.instanceDir}`);
log(
`Session settings (${
`${chalk.bold("Session settings")} (${
systemContext.session.sessionDirPath
? chalk.green(
getSessionName(
Expand All @@ -288,7 +289,7 @@ class SessionInfoCommandHandler implements CommandHandlerNoParams {
printConfig(systemContext.session.getConfig());

if (constructionFiles.length) {
log("\nConstruction Files:");
log(`\n${chalk.bold("Construction Files:")}`);
for (const file of constructionFiles) {
log(
` ${
Expand Down

0 comments on commit d44938c

Please sign in to comment.