@swell/cli 2.0.1-alpha.6 → 2.0.1-alpha.8

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.
@@ -18,6 +18,7 @@ export default class Logs extends SwellCommand {
18
18
  static summary: string;
19
19
  private output;
20
20
  run(): Promise<void>;
21
+ __run(): Promise<void>;
21
22
  private getLogs;
22
23
  private getLogsAndWriteToStream;
23
24
  }
@@ -1,4 +1,5 @@
1
1
  import { Flags } from '@oclif/core';
2
+ import ora from 'ora';
2
3
  import { LineOutput, LoggedItem, TableOutput } from '../lib/logs/index.js';
3
4
  import { SwellCommand } from '../swell-command.js';
4
5
  // the columns available to display in the table
@@ -162,6 +163,10 @@ export default class Logs extends SwellCommand {
162
163
  static summary = 'Output or stream store logs to the terminal.';
163
164
  output;
164
165
  async run() {
166
+ const spinner = ora();
167
+ spinner.fail('This command is temporarily disabled. Check back soon.');
168
+ }
169
+ async __run() {
165
170
  const { flags } = await this.parse(Logs);
166
171
  // indentify the columns to display
167
172
  const columns = flags.columns.split(',');
@@ -143,8 +143,8 @@ export class RemoteAppCommand extends AppCommand {
143
143
  }
144
144
  else {
145
145
  app = await this.handleRequestErrors(async () => this.api.post({ adminPath: '/apps' }, { body }), () => spinner.fail('Error creating app'));
146
+ appCreated = true;
146
147
  }
147
- appCreated = true;
148
148
  }
149
149
  else if (app.id) {
150
150
  spinner.start(`Updating app...`);
@@ -1086,5 +1086,5 @@
1086
1086
  ]
1087
1087
  }
1088
1088
  },
1089
- "version": "2.0.1-alpha.6"
1089
+ "version": "2.0.1-alpha.8"
1090
1090
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swell/cli",
3
- "version": "2.0.1-alpha.6",
3
+ "version": "2.0.1-alpha.8",
4
4
  "type": "module",
5
5
  "description": "Swell's command line interface/utility",
6
6
  "keywords": [