{"action":"opened","issue":{"url":"https://api.github.com/repos/havardh/workflow/issues/81","repository_url":"https://api.github.com/repos/havardh/workflow","labels_url":"https://api.github.com/repos/havardh/workflow/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/havardh/workflow/issues/81/comments","events_url":"https://api.github.com/repos/havardh/workflow/issues/81/events","html_url":"https://github.com/havardh/workflow/issues/81","id":353334569,"node_id":"MDU6SXNzdWUzNTMzMzQ1Njk=","number":81,"title":"Clipboard resolver","user":{"login":"havardh","id":451855,"node_id":"MDQ6VXNlcjQ1MTg1NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/451855?v=4","gravatar_id":"","url":"https://api.github.com/users/havardh","html_url":"https://github.com/havardh","followers_url":"https://api.github.com/users/havardh/followers","following_url":"https://api.github.com/users/havardh/following{/other_user}","gists_url":"https://api.github.com/users/havardh/gists{/gist_id}","starred_url":"https://api.github.com/users/havardh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/havardh/subscriptions","organizations_url":"https://api.github.com/users/havardh/orgs","repos_url":"https://api.github.com/users/havardh/repos","events_url":"https://api.github.com/users/havardh/events{/privacy}","received_events_url":"https://api.github.com/users/havardh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-23T11:14:23Z","updated_at":"2018-08-23T11:14:23Z","closed_at":null,"author_association":"OWNER","body":"Make it possible to resolve/load content from the local clipboard. This will make it possible to make an online example and execute it locally without copying down the file. \r\n\r\n## Proposed design\r\nTo activate this functionality we would need to add a command line flag to the `workflow` command. Something like `workflow --clipboard`.\r\n\r\n## Obstacle \r\nThe current api of a resolver returns an absolute path which can be loaded. The clipboard functionality fall a bit in the middle of a loader and a resolver at the moment. We could consider expanding the resolver api to return an object with either a path or a content variable. And making the loader load from a string when the resolver return the content. The further complication would be the planned addition of multiple loaders. The problem is to decide which loader to use when the content is resolved from the clipboard. "}}
{"actor":{"display_login":"havardh"}}