nervosnetwork / capsule

Capsule is an out-of-box development framework for creating smart contract on Nervos' CKB.
MIT License
61 stars 34 forks source link

Suggestion: Add subcommands to delete and rename contracts. #20

Closed jordanmack closed 4 years ago

jordanmack commented 4 years ago

It would be beneficial to have commands to delete and rename contracts after creation.

Capsule Version: Capsule 0.4.2 dcfac5b

jjyr commented 4 years ago

Rename and delete a Rust contract is easy because rust contracts are good structured, but c contracts usually rely on users customized build instructions; we can't clean it up. I suggest users need to delete generated files manually.