Rewrite `clicraft edit`
Rewrite `clicraft edit`

Remove the behavior where comments are ignored when checking
whether to install a new action file.

Use example action scripts as templates.

If a file is empty after editing it, delete it.

DMBuce/clicraft