enable `--name` argument for `submodule add`
simplify `submodule add` implementation