Package

org.scalafmt

cli

Permalink

package cli

Visibility
  1. Public
  2. All

Type Members

  1. 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, writeMode: WriteMode = Override, testing: Boolean = false, stdIn: Boolean = false, quiet: Boolean = false, debug: Boolean = false, git: Option[Boolean] = None, nonInteractive: Boolean = false, diff: Option[String] = None, assumeFilename: String = "stdin.scala", migrate: Option[AbsoluteFile] = None, common: CommonOptions = CommonOptions(), gitOpsConstructor: (AbsoluteFile) ⇒ GitOps = x => new GitOpsImpl(x), noStdErr: Boolean = false) extends Product with Serializable

    Permalink
  2. case class CommonOptions(workingDirectory: AbsoluteFile = AbsoluteFile.userDir, out: PrintStream = System.out, in: InputStream = System.in, err: PrintStream = System.err) extends Product with Serializable

    Permalink
  3. final case class DiffFiles(branch: String) extends FileFetchMode with Product with Serializable

    Permalink

    A call to git diff --name-only --diff-filter=d <branch>

    A call to git diff --name-only --diff-filter=d <branch>

    When this is set, files passed via the cli are ignored.

  4. sealed abstract case class ExitCode extends Product with Serializable

    Permalink
  5. sealed trait FileFetchMode extends AnyRef

    Permalink

    Determines how we fetch files for formatting

  6. sealed abstract class InputMethod extends AnyRef

    Permalink
  7. class Scalafmt210 extends AnyRef

    Permalink

    Classload ScalaFmt210 to run ScalaFmt from Scala 2.10, for example sbt plugin.

  8. class ScalafmtCliReporter extends ScalafmtReporter

    Permalink
  9. trait ScalafmtRunner extends AnyRef

    Permalink
  10. class TermDisplay extends Logger

    Permalink
  11. sealed trait WriteMode extends AnyRef

    Permalink

    Determines the mode in which Scalafmt will behave

    Determines the mode in which Scalafmt will behave

    Override = Replace the file with its formatted form Stdout = Print the formatted file to Stdout (leaving the original file untouched)

Value Members

  1. object Cache

    Permalink
  2. object Cli

    Permalink
  3. object CliArgParser

    Permalink
  4. object CliOptions extends Serializable

    Permalink
  5. object ExitCode extends Serializable

    Permalink
  6. object GitFiles extends FileFetchMode with Product with Serializable

    Permalink

    A call to git ls-files --name-only <dir>

  7. object InputMethod

    Permalink
  8. object Override extends WriteMode with Product with Serializable

    Permalink
  9. object RecursiveSearch extends FileFetchMode with Product with Serializable

    Permalink

    A simple recursive strategy where each directory is expanded

  10. object ScalafmtCoreRunner extends ScalafmtRunner

    Permalink
  11. object ScalafmtDynamicRunner extends ScalafmtRunner

    Permalink
  12. object Stdout extends WriteMode with Product with Serializable

    Permalink
  13. object TermDisplay

    Permalink
  14. object Terminal

    Permalink

Ungrouped