Skip to content

Customizable baseUrl on quickstarts #695

Open
adobe/aio-cli-plugin-app
#822
@obarcelonap

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions