{"action":"closed","issue":{"url":"https://api.github.com/repos/dcos/dcos-cli/issues/652","repository_url":"https://api.github.com/repos/dcos/dcos-cli","labels_url":"https://api.github.com/repos/dcos/dcos-cli/issues/652/labels{/name}","comments_url":"https://api.github.com/repos/dcos/dcos-cli/issues/652/comments","events_url":"https://api.github.com/repos/dcos/dcos-cli/issues/652/events","html_url":"https://github.com/dcos/dcos-cli/issues/652","id":159718183,"number":652,"title":"feature request: assume yes for package install","user":{"login":"laferrieren","id":661057,"avatar_url":"https://avatars.githubusercontent.com/u/661057?v=3","gravatar_id":"","url":"https://api.github.com/users/laferrieren","html_url":"https://github.com/laferrieren","followers_url":"https://api.github.com/users/laferrieren/followers","following_url":"https://api.github.com/users/laferrieren/following{/other_user}","gists_url":"https://api.github.com/users/laferrieren/gists{/gist_id}","starred_url":"https://api.github.com/users/laferrieren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laferrieren/subscriptions","organizations_url":"https://api.github.com/users/laferrieren/orgs","repos_url":"https://api.github.com/users/laferrieren/repos","events_url":"https://api.github.com/users/laferrieren/events{/privacy}","received_events_url":"https://api.github.com/users/laferrieren/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-10T20:39:44Z","updated_at":"2016-06-10T20:45:41Z","closed_at":"2016-06-10T20:45:41Z","body":"\r\nIt would be nice to have a assume yes for package installs to avoid piping in yes or having to manually hit yes during the install.\r\n\r\n### What version of DC/OS + DC/OS CLI are you using (`dcos --version`)?\r\nIf DC/OS CLI version < 0.4.5, DC/OS version can be found at `http://dcos_url/dcos-metada/dcos-version.json`\r\n```\r\ndcoscli.version=0.4.5\r\ndcos.version=1.7-open\r\ndcos.commit=14509fe1e7899f439527fb39867194c7a425c771\r\ndcos.bootstrap-id=3a2b7e03c45cd615da8dfb1b103943894652cd71\r\n```\r\n\r\n### Current Behavior\r\nRun `dcos package install swarm` and it asks prompts you for yes/no to continue\r\n\r\n### Desired Behavior\r\nBe able to run `dcos package install swarm -y` and have the package install.  \r\n\r\nyum and apt-get offer this behavior for installing packages that allow them to be scriptable.\r\n\r\nexcerpt from `man apt-get`\r\n       -y, --yes, --assume-yes\r\n           Automatic yes to prompts; assume \"yes\" as answer to all prompts and run non-interactively. If an undesirable situation, such as changing a held package, trying to install a unauthenticated package or removing an essential package occurs then apt-get will abort. Configuration Item: APT::Get::Assume-Yes.\r\n\r\nIf I have some time this weekend I will try to sit down and open up a PR"}}
{"actor":{"display_login":"laferrieren"}}