@redocly/cli 0.0.0-snapshot.1739968717 → 0.0.0-snapshot.1739981736

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.
Files changed (2) hide show
  1. package/lib/index.js +9 -13
  2. package/package.json +3 -3
package/lib/index.js CHANGED
@@ -735,6 +735,7 @@ yargs
735
735
  .positional('files', {
736
736
  describe: 'Test files or glob pattern',
737
737
  type: 'string',
738
+ array: true,
738
739
  default: [],
739
740
  })
740
741
  .env('REDOCLY_CLI_RESPECT')
@@ -752,14 +753,14 @@ yargs
752
753
  workflow: {
753
754
  alias: 'w',
754
755
  describe: 'Workflow name',
755
- type: 'array',
756
- greedy: false,
756
+ type: 'string',
757
+ array: true,
757
758
  },
758
759
  skip: {
759
760
  alias: 's',
760
761
  describe: 'Workflow to skip',
761
- type: 'array',
762
- greedy: false,
762
+ type: 'string',
763
+ array: true,
763
764
  },
764
765
  verbose: {
765
766
  alias: 'v',
@@ -796,14 +797,9 @@ yargs
796
797
  type: 'string',
797
798
  },
798
799
  });
799
- }, async (argv) => {
800
- try {
801
- await (0, respect_core_1.handleRun)(argv);
802
- }
803
- catch (err) {
804
- // logger.error(red(`${err?.message}`));
805
- process.exit(1);
806
- }
800
+ }, (argv) => {
801
+ process.env.REDOCLY_CLI_COMMAND = 'respect';
802
+ (0, wrapper_1.commandWrapper)(respect_core_1.handleRun)(argv);
807
803
  })
808
804
  .command('generate-arazzo <descriptionPath>', 'Auto-generate test config file from description', (yargs) => {
809
805
  return yargs
@@ -811,7 +807,7 @@ yargs
811
807
  describe: 'Description file path',
812
808
  type: 'string',
813
809
  })
814
- .env('REDOCLY_SPOT')
810
+ .env('REDOCLY_CLI_RESPECT')
815
811
  .options({
816
812
  'output-file': {
817
813
  alias: 'o',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redocly/cli",
3
- "version": "0.0.0-snapshot.1739968717",
3
+ "version": "0.0.0-snapshot.1739981736",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -36,7 +36,7 @@
36
36
  "Roman Hotsiy <roman@redocly.com> (https://redocly.com/)"
37
37
  ],
38
38
  "dependencies": {
39
- "@redocly/openapi-core": "0.0.0-snapshot.1739968717",
39
+ "@redocly/openapi-core": "0.0.0-snapshot.1739981736",
40
40
  "abort-controller": "^3.0.0",
41
41
  "chokidar": "^3.5.1",
42
42
  "colorette": "^1.2.0",
@@ -60,7 +60,7 @@
60
60
  "simple-websocket": "^9.0.0",
61
61
  "styled-components": "^6.0.7",
62
62
  "yargs": "17.0.1",
63
- "@redocly/respect-core": "0.0.0-snapshot.1739968717"
63
+ "@redocly/respect-core": "0.0.0-snapshot.1739981736"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@types/configstore": "^5.0.1",