Skip to content

Add a netcore console app project template #3

@jason-c-daniels

Description

@jason-c-daniels

Request
Add a project template for standalone .NET (Core) console applications.

Description
I would like a command similar to classlib (perhaps just app) that will generate a .NET (Core) application, defaulting to .NET 6, with an option to let me select an older version.

Some sample executions are below:

# Create the app and repo locally, not pushing to GItHub, and targeting .NET 6.
jcd-new console-app --no-github --project-name=My.Cool.App

# Create the app targeting .NET 5, and push it to GitHub right away.
jcd-new console-app --project-name=My.Cool.But.Older.App --net-app-version=net5.0

# Create the app targeting .NET Core 3.1, and push it to GitHub right away.
jcd-new console-app --project-name=My.Cool.But.Much.Older.App --net-app-version=netcoreapp3.1

Describe alternatives you've considered

  • The output from jcd-new classlib could be used to house just the solution and then manually create the application type I want. That would get me the rest of the scaffolding. But the template for the README.md is clearly geared towards libraries, not apps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions