{"action":"created","issue":{"url":"https://api.github.com/repos/chris104957/django-carrot/issues/85","repository_url":"https://api.github.com/repos/chris104957/django-carrot","labels_url":"https://api.github.com/repos/chris104957/django-carrot/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/chris104957/django-carrot/issues/85/comments","events_url":"https://api.github.com/repos/chris104957/django-carrot/issues/85/events","html_url":"https://github.com/chris104957/django-carrot/issues/85","id":330916788,"node_id":"MDU6SXNzdWUzMzA5MTY3ODg=","number":85,"title":"Carrot subcommands namespace","user":{"login":"MikeSandford","id":104520,"node_id":"MDQ6VXNlcjEwNDUyMA==","avatar_url":"https://avatars3.githubusercontent.com/u/104520?v=4","gravatar_id":"","url":"https://api.github.com/users/MikeSandford","html_url":"https://github.com/MikeSandford","followers_url":"https://api.github.com/users/MikeSandford/followers","following_url":"https://api.github.com/users/MikeSandford/following{/other_user}","gists_url":"https://api.github.com/users/MikeSandford/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeSandford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeSandford/subscriptions","organizations_url":"https://api.github.com/users/MikeSandford/orgs","repos_url":"https://api.github.com/users/MikeSandford/repos","events_url":"https://api.github.com/users/MikeSandford/events{/privacy}","received_events_url":"https://api.github.com/users/MikeSandford/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"MikeSandford","id":104520,"node_id":"MDQ6VXNlcjEwNDUyMA==","avatar_url":"https://avatars3.githubusercontent.com/u/104520?v=4","gravatar_id":"","url":"https://api.github.com/users/MikeSandford","html_url":"https://github.com/MikeSandford","followers_url":"https://api.github.com/users/MikeSandford/followers","following_url":"https://api.github.com/users/MikeSandford/following{/other_user}","gists_url":"https://api.github.com/users/MikeSandford/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeSandford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeSandford/subscriptions","organizations_url":"https://api.github.com/users/MikeSandford/orgs","repos_url":"https://api.github.com/users/MikeSandford/repos","events_url":"https://api.github.com/users/MikeSandford/events{/privacy}","received_events_url":"https://api.github.com/users/MikeSandford/received_events","type":"User","site_admin":false},"assignees":[{"login":"MikeSandford","id":104520,"node_id":"MDQ6VXNlcjEwNDUyMA==","avatar_url":"https://avatars3.githubusercontent.com/u/104520?v=4","gravatar_id":"","url":"https://api.github.com/users/MikeSandford","html_url":"https://github.com/MikeSandford","followers_url":"https://api.github.com/users/MikeSandford/followers","following_url":"https://api.github.com/users/MikeSandford/following{/other_user}","gists_url":"https://api.github.com/users/MikeSandford/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeSandford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeSandford/subscriptions","organizations_url":"https://api.github.com/users/MikeSandford/orgs","repos_url":"https://api.github.com/users/MikeSandford/repos","events_url":"https://api.github.com/users/MikeSandford/events{/privacy}","received_events_url":"https://api.github.com/users/MikeSandford/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2018-06-09T20:25:42Z","updated_at":"2018-08-29T11:46:07Z","closed_at":"2018-08-29T11:46:07Z","author_association":"NONE","body":"I was thinking it might be nice to namespace carrot subcommands so that instead of:\r\n```\r\npython manage.py carrot_daemon\r\npython manage.py carrot_send\r\npython manage.py carrot\r\n```\r\nYou'd instead have things like\r\n```\r\npython manage.py carrot start\r\npython manage.py carrot stop\r\npython manage.py carrot send\r\npython manage.py carrot run\r\npython manage.py carrot dev\r\n```\r\nThe `dev` would be roughly the same as `carrot` is right now, with the change being that there would be some kind of policy around re-importing in a non-performance-killing kind of way.  There are a few strategies I can think of to do that:\r\n1.  import every time a new command is received\r\n2.  use the last modified time to determine if a new import is needed\r\n3.  use same kind of method that flask uses to reload on change\r\n4.  something else entirely?\r\n\r\nHere is a gist for making a subcommand: https://gist.github.com/bruth/6121877\r\n\r\nAnother subcommand that might be nice is something like `clear` to package up that code snippet shared on #83 "},"comment":{"url":"https://api.github.com/repos/chris104957/django-carrot/issues/comments/416923695","html_url":"https://github.com/chris104957/django-carrot/issues/85#issuecomment-416923695","issue_url":"https://api.github.com/repos/chris104957/django-carrot/issues/85","id":416923695,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjkyMzY5NQ==","user":{"login":"chris104957","id":24718987,"node_id":"MDQ6VXNlcjI0NzE4OTg3","avatar_url":"https://avatars0.githubusercontent.com/u/24718987?v=4","gravatar_id":"","url":"https://api.github.com/users/chris104957","html_url":"https://github.com/chris104957","followers_url":"https://api.github.com/users/chris104957/followers","following_url":"https://api.github.com/users/chris104957/following{/other_user}","gists_url":"https://api.github.com/users/chris104957/gists{/gist_id}","starred_url":"https://api.github.com/users/chris104957/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris104957/subscriptions","organizations_url":"https://api.github.com/users/chris104957/orgs","repos_url":"https://api.github.com/users/chris104957/repos","events_url":"https://api.github.com/users/chris104957/events{/privacy}","received_events_url":"https://api.github.com/users/chris104957/received_events","type":"User","site_admin":false},"created_at":"2018-08-29T11:46:07Z","updated_at":"2018-08-29T11:46:07Z","author_association":"OWNER","body":"closing due to lack of activity"}}
{"actor":{"display_login":"chris104957"}}