case class CliOptions(config: Option[Path] = None, configStr: Option[String] = None, range: Set[Range] = Set.empty[Range], customFiles: Seq[AbsoluteFile] = Nil, customExcludes: Seq[String] = Nil, respectProjectFilters: Boolean = false, git: Option[Boolean] = None, nonInteractive: Boolean = false, mode: Option[FileFetchMode] = None, assumeFilename: String = "stdin.scala", migrate: Option[AbsoluteFile] = None, common: CommonOptions = CommonOptions(), gitOpsConstructor: (AbsoluteFile) ⇒ GitOps = x => new GitOpsImpl(x), writeModeOpt: Option[WriteMode] = None, debug: Boolean = false, quiet: Boolean = false, stdIn: Boolean = false, noStdErr: Boolean = false, error: Boolean = false, check: Boolean = false) extends Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CliOptions
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CliOptions(config: Option[Path] = None, configStr: Option[String] = None, range: Set[Range] = Set.empty[Range], customFiles: Seq[AbsoluteFile] = Nil, customExcludes: Seq[String] = Nil, respectProjectFilters: Boolean = false, git: Option[Boolean] = None, nonInteractive: Boolean = false, mode: Option[FileFetchMode] = None, assumeFilename: String = "stdin.scala", migrate: Option[AbsoluteFile] = None, common: CommonOptions = CommonOptions(), gitOpsConstructor: (AbsoluteFile) ⇒ GitOps = x => new GitOpsImpl(x), writeModeOpt: Option[WriteMode] = None, debug: Boolean = false, quiet: Boolean = false, stdIn: Boolean = false, noStdErr: Boolean = false, error: Boolean = false, check: Boolean = false)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val assumeFilename: String
  6. val check: Boolean
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. val common: CommonOptions
  9. val config: Option[Path]
  10. def configPath: Path

    - If --config-str is specified (and tempConfigPath is defined), this returns the path to a temporary file.

    - If --config-str is specified (and tempConfigPath is defined), this returns the path to a temporary file. - If both tempConfigPath and config are None, this return the path to .scalafmt.conf on the working directory.

    returns

    A path to a configuration file

  11. val configStr: Option[String]
  12. val customExcludes: Seq[String]
  13. val customFiles: Seq[AbsoluteFile]
  14. val debug: Boolean
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. val error: Boolean
  17. def excludeFilterRegexp: Regex
  18. val fileFetchMode: FileFetchMode
  19. val files: Seq[AbsoluteFile]
  20. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. val git: Option[Boolean]
  23. val gitOps: GitOps
  24. val gitOpsConstructor: (AbsoluteFile) ⇒ GitOps
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. val migrate: Option[AbsoluteFile]
  27. val mode: Option[FileFetchMode]
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. val noStdErr: Boolean
  30. val nonInteractive: Boolean
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. val quiet: Boolean
  34. val range: Set[Range]
  35. val respectProjectFilters: Boolean
  36. def scalafmtConfig: Configured[ScalafmtConfig]

    Parse the scalafmt configuration and try to encode it to ScalafmtConfig.

    Parse the scalafmt configuration and try to encode it to ScalafmtConfig. If --config-str is specified, this will parse the configuration string specified by --config-str. Otherwise, a contents of configuration file specified by configPath will be parsed.

    If --config-str is not specified and configuration file is missing, this will return the default configuration

  37. val stdIn: Boolean
  38. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  42. def withFiles(files: Seq[AbsoluteFile]): CliOptions
  43. lazy val writeMode: WriteMode
  44. val writeModeOpt: Option[WriteMode]

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped