Customizable `baseUrl` on quickstarts
- Dominant language
- JavaScript
- Stars
- 95
- Forks
- 45
- PR merge metrics
- No merged PRs in 30d
Description
### Expected Behaviour
To be able to set the `baseUrl` when using quickstar flags in `aio app init` so repositories out of public github can be used.
```
aio app init --repo org/repo/folder --baseUrl https://mygit.com
```
### Actual Behaviour
`--repo` option always uses github.com
### Reproduce Scenario (including but not limited to)
#### Steps to Reproduce
#### Platform and Version
#### Sample Code that illustrates the problem
Current implementation uses Octokit that defaults to github.com
https://github.com/adobe/aio-cli-plugin-app/blob/master/src/commands/app/init.js#L375-L378
While Octokit allows to customize the baseUrl with a constructor arg
https://github.com/octokit/octokit.js/blob/main/README.md?plain=1#L184-L203
#### Logs taken while reproducing problem
Contributor guide
Research direction
Start in src/commands/app/init.js around lines 375-378 and review how the Octokit client is created for the --repo quickstart flow. Check the Octokit documentation linked in the issue for baseUrl configuration. Done means aio app init accepts --baseUrl and uses the supplied host while the existing default continues to use github.com.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 72/100