Add `--init` option to `rubocop` command by koic · Pull Request #6928 · rubocop/rubocop

This PR adds --init option to rubocop command. % mkdir example % cd /tmp/example % rubocop --init Writing new .rubocop.yml to /private/tmp/example/.rubocop.yml % cat .rubocop.yml # The behavior of ...