vir new
Create a new Virdant project.
Usage
$ vir new <PROJECT>
This creates a new directory named <PROJECT> with a fresh Virdant project inside it,
ready to check, simulate, and build:
$ vir new hello
$ cd hello
A new project comes with:
virdant.toml— the project manifest,src/top.vir— a hello-world design with aTopmodule,and a Git repository, unless you asked not to.
Options
--no-gitDo not initialize a Git repository for the new project.
By default,
vir newrunsgit initfor you. If the new project already lives inside a Git repository (or Git is unavailable), Virdant skips initialization either way.