dotnet-installer/Documentation/manpages/dotnet-new.1

32 lines
803 B
Groff
Raw Normal View History

.\" Automatically generated by Pandoc 1.15.1
.\"
.hy
.TH "dotnet-new" "1" "" "" ""
.SH dotnet\-new
.SH NAME
.PP
dotnet\-new \-\- Create a new sample project
.SH SYNOPSIS
.PP
dotnet new
.SH DESCRIPTION
.PP
The new command provides a convenient way to initalize a valid .NET Core
project and sample source code to try out the CLI toolset.
.PP
This command is invoked in the context of a directory.
When invoked, the command will result in two main artifacts being
dropped to the directory:
.IP "1." 3
A sample "Hello World" program that exists in \f[C]Program.cs\f[] file.
.IP "2." 3
A valid \f[C]project.json\f[] file
.PP
After this, the project is ready to be compiled and/or edited further.
.SH EXAMPLES
.PP
\f[C]dotnet\ new\f[] Drops a sample in the current directory.
.SH SEE ALSO
.PP
dotnet\-run(1)