@extrahorizon/exh-cli 1.13.0-dev-186-c780c87 → 1.13.0-dev-187-6a4e090

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.
package/CHANGELOG.md CHANGED
@@ -10,6 +10,7 @@
10
10
  * The CLI automatically resolves the template id based on the provided template name.
11
11
  * Removed validation for v1 templates, focusing on improved support for v2 templates in JetBrains IDEs using the provided JSON schemas via `$schema`.
12
12
  * Updated `exh tasks sync` to create users with `activationMode: 'manual'`, preventing unnecessary activation emails.
13
+ * Made file argument optional for `exh dispatchers sync`, defaults to `./dispatchers.json` when no file argument is provided.
13
14
  * Deprecated `exh tasks create-repo` in favor of the new `exh tasks init` command.
14
15
  * Deprecated the use of `templateId` in mail actions, recommending `templateName` instead.
15
16
 
@@ -3,9 +3,10 @@ export declare const command = "sync";
3
3
  export declare const desc = "Synchronize Dispatchers, if a declared Dispatcher does not exist, it will be created";
4
4
  export declare const builder: (yargs: Argv) => Argv<import("yargs").Omit<{}, "file" | "clean"> & import("yargs").InferredOptionTypes<{
5
5
  file: {
6
- demandOption: true;
6
+ demandOption: false;
7
7
  describe: string;
8
8
  type: "string";
9
+ default: string;
9
10
  };
10
11
  clean: {
11
12
  demandOption: false;
@@ -7,9 +7,10 @@ exports.command = 'sync';
7
7
  exports.desc = 'Synchronize Dispatchers, if a declared Dispatcher does not exist, it will be created';
8
8
  const builder = (yargs) => (0, util_1.epilogue)(yargs).options({
9
9
  file: {
10
- demandOption: true,
10
+ demandOption: false,
11
11
  describe: 'Path to the file containing the Dispatcher(s) configuration',
12
12
  type: 'string',
13
+ default: './dispatchers.json',
13
14
  },
14
15
  clean: {
15
16
  demandOption: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@extrahorizon/exh-cli",
3
- "version": "1.13.0-dev-186-c780c87",
3
+ "version": "1.13.0-dev-187-6a4e090",
4
4
  "main": "build/index.js",
5
5
  "exports": "./build/index.js",
6
6
  "license": "MIT",