@helix3/helix-cli 0.1.15-helix3.248 → 0.1.16-helix3.249

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/dist/index.js CHANGED
@@ -5480,11 +5480,13 @@ unreal
5480
5480
  .option('--version <version>', 'release version', '1.0.0')
5481
5481
  .option('--max-players <n>', 'runtime policy max players', '1')
5482
5482
  .option('--rating <rating>', 'everyone, teen, or mature', 'everyone')
5483
+ .option('--avatar-mode <mode>', 'universal or world-default (default: universal)', 'universal')
5483
5484
  .option('--out <file>', 'where to write it (default: <publishDir>/continuum/world-release.json)')
5484
5485
  .option('--json', 'machine-readable result')
5485
5486
  .action(async (publishDir, opts) => {
5486
5487
  try {
5487
5488
  const { buildUnrealWorldRelease } = await Promise.resolve().then(() => __importStar(require('./unreal/release')));
5489
+ const avatarMode = (0, unreal_1.parseAvatarMode)(opts.avatarMode);
5488
5490
  const result = await buildUnrealWorldRelease({
5489
5491
  publishDir,
5490
5492
  worldId: opts.world,
@@ -5494,6 +5496,7 @@ unreal
5494
5496
  version: opts.version,
5495
5497
  maxPlayers: Number(opts.maxPlayers),
5496
5498
  contentRating: opts.rating,
5499
+ avatarMode,
5497
5500
  outPath: opts.out,
5498
5501
  });
5499
5502
  if (opts.json) {