coral-xyz / anchor

⚓ Solana Sealevel Framework
https://anchor-lang.com
Apache License 2.0
3.36k stars 1.25k forks source link

add remove command for CLI #2923

Open Confucian-e opened 2 months ago

Confucian-e commented 2 months ago

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.

vercel[bot] commented 2 months ago

@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.

Confucian-e commented 2 months ago

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?