Move attach command to cobra Upstream-commit: ab821f9f9bf15cb7d356c6e48729f706807488db Component: engine