All Downloads are FREE. Search and download functionalities are using the official Maven repository.

mill.define.Args.scala Maven / Gradle / Ivy

The newest version!
package mill.define

/**
 * Represents an unstructured sequence of command-line arguments that can be
 * passed to Mill commands; similar to `mainargs.Leftover`.
 */
class Args(val value: Seq[String])
object Args {

  /**
   * Constructs an [[Args]] object from `os.Shellable`s
   */
  def apply(chunks: os.Shellable*) = new Args(chunks.flatMap(_.value))
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy