Add config subcommand

User can use 'config' subcommand to open config file directly.