Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cargo-psibase package command improvements #824

Open
James-Mart opened this issue Aug 30, 2024 · 1 comment
Open

cargo-psibase package command improvements #824

James-Mart opened this issue Aug 30, 2024 · 1 comment
Assignees
Labels
Dev Experience Related to the experience of developers

Comments

@James-Mart
Copy link
Member

I propose the commands:

  • cargo psibase package new package_name - generates a skeleton package named packaged_name
    • --description=example
    • --service=serv1
    • --server=serv2
    • --plugins=plugin1

Creates the package format demoed in ./rust/test_package. It should create the same basic service for each generated service, the same basic plugin for each generated plugin. To generate plugins, we can rely on the user already having cargo component installed, so we can just run cargo component new --lib --namespace serv1 plugin to generate the plugin for serv1 in a subdirectory called plugin.

@James-Mart James-Mart added the Dev Experience Related to the experience of developers label Aug 30, 2024
@James-Mart
Copy link
Member Author

CC @swatanabe thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dev Experience Related to the experience of developers
Projects
Status: No status
Development

No branches or pull requests

2 participants