Create a dart project on the file system at
pathTo from the template named templateName.
@Throwing(ArgumentError)
@Throwing(CopyException)
@Throwing(CopyTreeException)
@Throwing(CreateDirException)
@Throwing(DartProjectException)
@Throwing(DeleteException)
@Throwing(DuplicateKeyException)
@Throwing(InvalidArgumentException)
@Throwing(InvalidProjectTemplateException)
@Throwing(MoveException)
@Throwing(NotFoundException)
@Throwing(PubSpecException)
@Throwing(RangeError)
@Throwing(VersionException)
there is a 'generated' date stamp in the .json file which
might be more definitive.
Returns true if the project is in state when any of its
scripts can be run.
reads and returns the project's virtual pubspec
and returns it.
@Throwing(DuplicateKeyException)
@Throwing(NotFoundException)
@Throwing(PubSpecException)
@Throwing(VersionException)
Compiles all dart scripts in the project.
If you set install to true then each compiled script
is added to your PATH by copying it into ~/.dcli/bin.
install defaults to false.
Prepare the project so it can be run.
This essentially means that we run pub get
however if the project hasn't been initialised
then we initialise the project as well.
if background is set to true then we
run the build as a background process.
background defaults to false.