Skip to content

proposal: merge package manager into the nature command #246

@arjendevos

Description

@arjendevos

Currently the package manager is written in Go and is being used with a different command. I think we can integrate it into the nature binary which would make it way easier to use.

Some example commands:

nature pkg sync
nature pkg init // New: scaffold a package.toml with default values
nature pkg add <dep> --version v1.0.0 // New: add a dependency

// Future addition
- nature pkg remove <dep> // New: remove a dependency
- package.lock file?

I recognize that the current way of handling packages is probably not the final setup as there is no separation per project which means removing/cleaning up packages can have an impact on other projects. Thus this issue also serves as a discussion on how to improve the package manager.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions