Skip to content

Add project scaffolding capability #7

Description

@jonpalmisc

It would be neat if einit could automatically create a minimal CMakeLists.txt and src/main.c(pp), similar to cargo new, zig init-exe, etc. for the sake of quickly bootstrapping projects. However, I'm skeptical about adding this because:

  • this slightly exceeds the original scope of the project, and keeping this tool lean would be ideal; and
  • if this is implemented, the content of the template will likely be controversial and I don't have much desire to also build an elaborate template-choosing system, etc.

Nevertheless, this could be useful and I don't want to forget about this idea, hence the issue.

P.S. I've assigned this to myself as I'd prefer to build this on my own rather than accept PRs for this feature, since I'll likely have strong opinions on how this should be done.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions