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

add remove command for CLI #2923

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Confucian-e
Copy link

I found that there was only the anchor new command to create a program, but there was no corresponding command to delete a program. So, I added this functionality. Now we can use anchor remove <program name> to delete a program.
Please note that currently only Rust projects are supported, Solidity projects are not supported.

Copy link

vercel bot commented Apr 22, 2024

@Confucian-e is attempting to deploy a commit to the coral-xyz Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Collaborator

@acheroncrypto acheroncrypto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks but this doesn't seem to handle any references to the program e.g. crate dependency or tests. Are you planning to handle those as well?

@Confucian-e
Copy link
Author

Confucian-e commented Apr 23, 2024

Thanks but this doesn't seem to handle any references to the program e.g. crate dependency or tests. Are you planning to handle those as well?

Well but I can't find where it is referenced. In the tests directory, I only found two tests related to the CLI: anchor-cli-idl and anchor-cli-account. Could you please tell me where it is referenced?

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

Successfully merging this pull request may close these issues.

2 participants