Skip to content

Add new command support #147

@damon-kwok

Description

@damon-kwok

Add new command support for corral

There is already an init command, why is it superfluous?
It is the premise of adding template system to corral.

corral new hello

It looks like this logic:

mkdir hello
cd hello
corral init

The final new command:

corral new <template> mylib

results:

hello
├── corral.json
├── CHANGELOG.md
├── CODE_OF_CONDUCT.md
├── CONTRIBUTING.md
├── examples
│   └── simple-example
│       └── simple-example.pony
├── gitattributes
├── gitignore
├── hello
│   └── _test.pony
├── LICENSE
├── Makefile
├── README.md
├── RELEASE_PROCESS.md
└── STYLE_GUIDE.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions