Is there an CLI option with aws codecatalyst to create repositories

0

Is there a method to create a repository in a codecatalyst project via CLI? I can't see one documented

profile picture
已提问 1 年前271 查看次数
2 回答
1
已接受的回答

Hi, @Simon.

Some Amazon CodeCatalyst operations are also provided in the CLI.
CreateSourceRepositoryBranch is an action on repositories. can you use this?

version 1.27.21+
https://docs.aws.amazon.com/cli/latest/reference/codecatalyst/index.html

You can operate the repository with the following command.

https://docs.aws.amazon.com/cli/latest/reference/codecatalyst/create-source-repository-branch.html

However, it is not possible to create a new repository itself. It is possible to create a branch into an existing repository.
I have summarized my findings in the following article. (Sorry in Japanese. Please translate.)

https://dev.classmethod.jp/articles/amazon-codecatalyst-cli/

profile picture
专家
iwasa
已回答 1 年前
1

As the API documentation here (https://docs.aws.amazon.com/codecatalyst/latest/APIReference/Welcome.html) does not support creating repositories right now, iwasa is completely right: there is no possibility right now to create repositories in an automated fashion.

Regards Johannes

profile picture
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则