{"action":"created","issue":{"url":"https://api.github.com/repos/anishathalye/dotbot/issues/34","labels_url":"https://api.github.com/repos/anishathalye/dotbot/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/anishathalye/dotbot/issues/34/comments","events_url":"https://api.github.com/repos/anishathalye/dotbot/issues/34/events","html_url":"https://github.com/anishathalye/dotbot/issues/34","id":72184861,"number":34,"title":"[Request] force - does it overwrite any file?","user":{"login":"Ploppz","id":4773287,"avatar_url":"https://avatars.githubusercontent.com/u/4773287?v=3","gravatar_id":"","url":"https://api.github.com/users/Ploppz","html_url":"https://github.com/Ploppz","followers_url":"https://api.github.com/users/Ploppz/followers","following_url":"https://api.github.com/users/Ploppz/following{/other_user}","gists_url":"https://api.github.com/users/Ploppz/gists{/gist_id}","starred_url":"https://api.github.com/users/Ploppz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ploppz/subscriptions","organizations_url":"https://api.github.com/users/Ploppz/orgs","repos_url":"https://api.github.com/users/Ploppz/repos","events_url":"https://api.github.com/users/Ploppz/events{/privacy}","received_events_url":"https://api.github.com/users/Ploppz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/anishathalye/dotbot/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-30T14:48:29Z","updated_at":"2015-04-30T23:13:38Z","closed_at":null,"body":"Hi.\r\nIn the YAML configuration file, if you say `force: true`, does that currently override the desination no matter what it is? I would like it to overwrite any existing symbolic link, but still be safe in all other ways. This is because I keep different versions of files in my dotbot repository, and several YAML files to install different versions, and would like to switch between them on the fly.\r\n\r\nI have a further feature request: Possibility to set the default behaviour so that one can limit the verbosity of the YAML file; i.e. set globally `force: true` or the like.\r\n\r\nThanks for your consideration."},"comment":{"url":"https://api.github.com/repos/anishathalye/dotbot/issues/comments/97997069","html_url":"https://github.com/anishathalye/dotbot/issues/34#issuecomment-97997069","issue_url":"https://api.github.com/repos/anishathalye/dotbot/issues/34","id":97997069,"user":{"login":"anishathalye","id":3526486,"avatar_url":"https://avatars.githubusercontent.com/u/3526486?v=3","gravatar_id":"","url":"https://api.github.com/users/anishathalye","html_url":"https://github.com/anishathalye","followers_url":"https://api.github.com/users/anishathalye/followers","following_url":"https://api.github.com/users/anishathalye/following{/other_user}","gists_url":"https://api.github.com/users/anishathalye/gists{/gist_id}","starred_url":"https://api.github.com/users/anishathalye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anishathalye/subscriptions","organizations_url":"https://api.github.com/users/anishathalye/orgs","repos_url":"https://api.github.com/users/anishathalye/repos","events_url":"https://api.github.com/users/anishathalye/events{/privacy}","received_events_url":"https://api.github.com/users/anishathalye/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T23:13:38Z","updated_at":"2015-04-30T23:13:38Z","body":"Hmm, that's a good point.\r\n\r\nDo you think we could have an option like `relink: true` for overwriting symlinks but not deleting files (so no data loss)? And then the `force: true` could stay how it is -- it'll remove the file (or link) if necessary. How does this sound?\r\n\r\n\r\nDefault behavior is a little bit more tricky. I definitely agree with you that it'll be a great thing to have, I'm just not sure what's the right interface. Should it go in the config file itself? With the current YAML/JSON format, I'm not sure where that would go. Should it be a command line option? I feel like that might get messy.\r\n\r\nDo you have any ideas?"}}