message: feat(cli): if no out or json cmd, put out to ./docs
diff: @@ -61,9 +61,6 @@ export class CliApplication extends Application {
  } else if (result.inputFiles.length === 0) {
  typescript.sys.write(getOptionsHelp(this.options));
  process.exit(ExitCode.NoInputFiles);
  - } else if (!this.out && !this.json) {
  - this.logger.error("You must either specify the 'out' or 'json' option.");
  - process.exit(ExitCode.NoOutput);
  } else {
  const src = this.expandInputFiles(result.inputFiles);
  const project = this.convert(src);
  @@ -74,6 +71,11 @@ export class CliApplication extends Application {
  if (this.json) {
  this.generateJson(project, this.json);
  }
  + if (!this.out && !this.json) {
  + this.logger.log("No 'out' or 'json' option has been set");
  + this.logger.log("The './docs' directory has be set as the output location by default");
  + this.generateDocs(project, './docs');
  + }
  if (this.logger.hasErrors()) {
  process.exit(ExitCode.OutputError);
  }
  