@flowscripter/dynamic-cli-framework 5.0.0 → 5.0.1

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.
@@ -107,7 +107,7 @@ export default class CompletionServiceProvider {
107
107
  catch (error) {
108
108
  if (context.doesServiceExist(PRINTER_SERVICE_ID)) {
109
109
  const printerService = context.getServiceById(PRINTER_SERVICE_ID);
110
- await printerService.error(`Failed to install completion: ${error.message}`, Icon.FAILURE);
110
+ await printerService.error(`Failed to install completion: ${error.message}\n`, Icon.FAILURE);
111
111
  }
112
112
  }
113
113
  }
@@ -153,7 +153,7 @@ export default class CompletionServiceProvider {
153
153
  await Bun.write(configPath, newContent);
154
154
  if (context.doesServiceExist(PRINTER_SERVICE_ID)) {
155
155
  const printerService = context.getServiceById(PRINTER_SERVICE_ID);
156
- await printerService.info(`Shell completion installed for ${shellType}. Restart your shell or run 'source ${configPath}' to activate.`, Icon.SUCCESS);
156
+ await printerService.info(`Shell completion installed for ${shellType}. Restart your shell or run 'source ${configPath}' to activate.\n`, Icon.SUCCESS);
157
157
  }
158
158
  }
159
159
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowscripter/dynamic-cli-framework",
3
- "version": "5.0.0",
3
+ "version": "5.0.1",
4
4
  "description": "A framework for developing CLI applications which supports dynamic discovery and installation of new commands",
5
5
  "keywords": [
6
6
  "bun",
@@ -136,7 +136,7 @@ export default class CompletionServiceProvider implements ServiceProvider {
136
136
  if (context.doesServiceExist(PRINTER_SERVICE_ID)) {
137
137
  const printerService = context.getServiceById(PRINTER_SERVICE_ID) as PrinterService;
138
138
  await printerService.error(
139
- `Failed to install completion: ${(error as Error).message}`,
139
+ `Failed to install completion: ${(error as Error).message}\n`,
140
140
  Icon.FAILURE,
141
141
  );
142
142
  }
@@ -194,7 +194,7 @@ export default class CompletionServiceProvider implements ServiceProvider {
194
194
  if (context.doesServiceExist(PRINTER_SERVICE_ID)) {
195
195
  const printerService = context.getServiceById(PRINTER_SERVICE_ID) as PrinterService;
196
196
  await printerService.info(
197
- `Shell completion installed for ${shellType}. Restart your shell or run 'source ${configPath}' to activate.`,
197
+ `Shell completion installed for ${shellType}. Restart your shell or run 'source ${configPath}' to activate.\n`,
198
198
  Icon.SUCCESS,
199
199
  );
200
200
  }