The command doesn't work without --no-ui, otherwise it opens the SDK Manager GUI with your options ignored.  The instructions would have to be 'run android, select platform-tools, select "Install 1 package", Accept the License Agreement, Select OK"