rustic / com.osm.gradle.plugins.types.config.options.config / CargoNew

CargoNew

open class CargoNew : RusticConfigurableBase, ICargoNew

Constructors

<init>

CargoNew()

Properties

email

This is your name/email to place in the authors section of a new Cargo.toml that is generated. If not present, then git will be probed, and if that is not present then $USER and $EMAIL will be used.

open var email: String?

name

This is your name/email to place in the authors section of a new Cargo.toml that is generated. If not present, then git will be probed, and if that is not present then $USER and $EMAIL will be used.

open var name: String?

vcs

By default cargo new will initialize a new Git repository. This key can be set to change the version control system used. Valid values are git, hg (for Mercurial), pijul, fossil, or none to disable this behavior.

open var vcs: String?

Functions

email

open fun email(value: String?): Unit

name

open fun name(value: String?): Unit

vcs

open fun vcs(value: String?): Unit