Implement the "init" command for the command-line interface