{"action":"created","issue":{"url":"https://api.github.com/repos/hyn/multi-tenant/issues/391","repository_url":"https://api.github.com/repos/hyn/multi-tenant","labels_url":"https://api.github.com/repos/hyn/multi-tenant/issues/391/labels{/name}","comments_url":"https://api.github.com/repos/hyn/multi-tenant/issues/391/comments","events_url":"https://api.github.com/repos/hyn/multi-tenant/issues/391/events","html_url":"https://github.com/hyn/multi-tenant/issues/391","id":298329563,"number":391,"title":"No commands defined in tenant namespace","user":{"login":"swati-clarion","id":16782300,"avatar_url":"https://avatars1.githubusercontent.com/u/16782300?v=4","gravatar_id":"","url":"https://api.github.com/users/swati-clarion","html_url":"https://github.com/swati-clarion","followers_url":"https://api.github.com/users/swati-clarion/followers","following_url":"https://api.github.com/users/swati-clarion/following{/other_user}","gists_url":"https://api.github.com/users/swati-clarion/gists{/gist_id}","starred_url":"https://api.github.com/users/swati-clarion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swati-clarion/subscriptions","organizations_url":"https://api.github.com/users/swati-clarion/orgs","repos_url":"https://api.github.com/users/swati-clarion/repos","events_url":"https://api.github.com/users/swati-clarion/events{/privacy}","received_events_url":"https://api.github.com/users/swati-clarion/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-02-19T16:10:45Z","updated_at":"2018-05-29T07:28:47Z","closed_at":"2018-02-19T20:44:15Z","author_association":"NONE","body":"I successfully installed tenancy using php artisan tenancy:install\r\n\r\nThe class CreateTenant is also created at app\\Console\\Commands\\CreateTenant.php\r\n\r\nI also added these in providers in app.php\r\n// Hyn multi tenancy.\r\n    Hyn\\Tenancy\\Providers\\Tenants\\ConfigurationProvider::class,\r\n    Hyn\\Tenancy\\Providers\\TenancyProvider::class,\r\n    // Hyn multi tenancy webserver integration.\r\n    Hyn\\Tenancy\\Providers\\WebserverProvider::class,\r\n\r\nand added this in Kernel.php,\r\n\r\nprotected $commands = [\r\n        // Commands\\CreateTenant::class\r\n\t'App\\Console\\Commands\\CreateTenant'\r\n ];\r\n\r\nBut when I run php artisan tenant:create gc  gc@example.com , I get error \"There are no commands defined in \"tenant\" namespace. \r\n\r\nI have cleared config cache many times, but still same error. Please guide what am I missing here.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/hyn/multi-tenant/issues/comments/392679448","html_url":"https://github.com/hyn/multi-tenant/issues/391#issuecomment-392679448","issue_url":"https://api.github.com/repos/hyn/multi-tenant/issues/391","id":392679448,"user":{"login":"luceos","id":504687,"avatar_url":"https://avatars2.githubusercontent.com/u/504687?v=4","gravatar_id":"","url":"https://api.github.com/users/luceos","html_url":"https://github.com/luceos","followers_url":"https://api.github.com/users/luceos/followers","following_url":"https://api.github.com/users/luceos/following{/other_user}","gists_url":"https://api.github.com/users/luceos/gists{/gist_id}","starred_url":"https://api.github.com/users/luceos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luceos/subscriptions","organizations_url":"https://api.github.com/users/luceos/orgs","repos_url":"https://api.github.com/users/luceos/repos","events_url":"https://api.github.com/users/luceos/events{/privacy}","received_events_url":"https://api.github.com/users/luceos/received_events","type":"User","site_admin":false},"created_at":"2018-05-29T07:28:47Z","updated_at":"2018-05-29T07:28:47Z","author_association":"MEMBER","body":"@Altafyanto please create a new issue, it's not related to this one.\r\n\r\n---\r\n\r\nAny questions related to commands prefixed with `tenant:` are unrelated to this package."}}
{"actor":{"display_login":"luceos"}}