{"action":"created","issue":{"url":"https://api.github.com/repos/Codeception/Codeception/issues/5275","repository_url":"https://api.github.com/repos/Codeception/Codeception","labels_url":"https://api.github.com/repos/Codeception/Codeception/issues/5275/labels{/name}","comments_url":"https://api.github.com/repos/Codeception/Codeception/issues/5275/comments","events_url":"https://api.github.com/repos/Codeception/Codeception/issues/5275/events","html_url":"https://github.com/Codeception/Codeception/issues/5275","id":383260338,"node_id":"MDU6SXNzdWUzODMyNjAzMzg=","number":5275,"title":"Namespace shortcut option for bootstrap command is not working","user":{"login":"burned42","id":16883833,"node_id":"MDQ6VXNlcjE2ODgzODMz","avatar_url":"https://avatars2.githubusercontent.com/u/16883833?v=4","gravatar_id":"","url":"https://api.github.com/users/burned42","html_url":"https://github.com/burned42","followers_url":"https://api.github.com/users/burned42/followers","following_url":"https://api.github.com/users/burned42/following{/other_user}","gists_url":"https://api.github.com/users/burned42/gists{/gist_id}","starred_url":"https://api.github.com/users/burned42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burned42/subscriptions","organizations_url":"https://api.github.com/users/burned42/orgs","repos_url":"https://api.github.com/users/burned42/repos","events_url":"https://api.github.com/users/burned42/events{/privacy}","received_events_url":"https://api.github.com/users/burned42/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-21T19:17:57Z","updated_at":"2018-11-21T20:52:21Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"#### What are you trying to achieve?\r\nUse the shortcut version of the 'namespace' option of the command `codecept bootstrap`.\r\n\r\n#### What do you get instead?\r\nWhen using `-ns` it's detected as `-n` (no interaction) and `-s` which doesn't exist so I get an error:\r\n\r\n```bash\r\n$ vendor/bin/codecept bootstrap -ns Foobar\r\n\r\n                                   \r\n  The \"-s\" option does not exist.  \r\n                                   \r\n\r\nbootstrap [-ns|--namespace [NAMESPACE]] [-a|--actor [ACTOR]] [-e|--empty] [--] [<path>]\r\n```\r\n\r\n### Details\r\n\r\n* Codeception version: 2.5.1\r\n* PHP Version: 7.2.10\r\n* Operating System: Ubuntu\r\n* Installation type: Composer\r\n\r\nI guess the options are either assigning a single character as the shortcut option or not providing a shortcut for the namespace option completely."},"comment":{"url":"https://api.github.com/repos/Codeception/Codeception/issues/comments/440804901","html_url":"https://github.com/Codeception/Codeception/issues/5275#issuecomment-440804901","issue_url":"https://api.github.com/repos/Codeception/Codeception/issues/5275","id":440804901,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDgwNDkwMQ==","user":{"login":"burned42","id":16883833,"node_id":"MDQ6VXNlcjE2ODgzODMz","avatar_url":"https://avatars2.githubusercontent.com/u/16883833?v=4","gravatar_id":"","url":"https://api.github.com/users/burned42","html_url":"https://github.com/burned42","followers_url":"https://api.github.com/users/burned42/followers","following_url":"https://api.github.com/users/burned42/following{/other_user}","gists_url":"https://api.github.com/users/burned42/gists{/gist_id}","starred_url":"https://api.github.com/users/burned42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burned42/subscriptions","organizations_url":"https://api.github.com/users/burned42/orgs","repos_url":"https://api.github.com/users/burned42/repos","events_url":"https://api.github.com/users/burned42/events{/privacy}","received_events_url":"https://api.github.com/users/burned42/received_events","type":"User","site_admin":false},"created_at":"2018-11-21T20:52:21Z","updated_at":"2018-11-21T20:52:21Z","author_association":"CONTRIBUTOR","body":"Depends on what you expect :) It runs without errors, but `-n` is the shortcut for `--no-interaction` so I would expect it to work. And the `bootstrap` command also accepts an optional path where it shall execute the bootstrap in. So it does the bootstrap and does that without any interaction needed, but doesn't configure any namespace."}}
{"actor":{"display_login":"burned42"}}