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

Possible to specify which canisters to run a given command? #43

Open
atengberg opened this issue Jun 13, 2023 · 2 comments
Open

Possible to specify which canisters to run a given command? #43

atengberg opened this issue Jun 13, 2023 · 2 comments

Comments

@atengberg
Copy link

Hello, thanks for the very useful project.

Is it possible to pass commands to mo-dev so that only specific canisters are included?

For instance, mo-dev generate will also generate the declarations for the internet_identity canister that's declared in the dfx.json but whose declarations are not needed (similarly they will be generated for a frontend canister).

@rvanasa
Copy link
Contributor

rvanasa commented Jun 13, 2023

One solution could be to use mo-dev --deploy --exec 'dfx generate my_canister'. Since generating all bindings is the usual behavior for dfx projects, I'll see if we can make it possible to specify the default canisters in the dfx.json file.

@rvanasa
Copy link
Contributor

rvanasa commented Jun 13, 2023

I opened a discussion about this here: dfinity/sdk#3173.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants