// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.jetbrains.performancePlugin.commands;

import com.sampullara.cli.Argument;
import org.jetbrains.annotations.ApiStatus;

/**
 * Warning! This dto used with sampullara lib(command extractor). This lib doesn't work properly with kotlin
 * Properties won't be injected when `Args.parse`
 */
public class OpenFileCommandOptions {
  @Argument
  public Long timeout = 0L;

  @Argument
  public Boolean suppressErrors = false;

  @Argument(required = true)
  public String file = "";

  @Argument(alias = "dsa")
  public Boolean disableCodeAnalysis = false;

  /**
   * Will be removed after full implementation of AT-711
   */
  @ApiStatus.Experimental
  @Argument(alias = "unwfca")
  public Boolean useNewWaitForCodeAnalysisCode = false;
}
