remove code duplication (#648)
remove code duplication (#648)
dcos/dcos-cli,mesosphere/dcos-cli,mesosphere/dcos-cli,sis-tools/dcos-cli,mesosphere/dcos-cli,dcos/dcos-cli,dcos/dcos-cli,kensipe/dcos-cli,kensipe/dcos-cli,sis-tools/dcos-cli,kensipe/dcos-cli,sis-tools/dcos-cli,kensipe/dcos-cli,dcos/dcos-cli,kensipe/dcos-cli,dcos/dcos-cli