capactio / capact

Simple way to manage applications and infrastructure.
https://capact.io
Apache License 2.0
80 stars 19 forks source link

Implement interactive manifest generation and generate more manifest kinds #596

Closed mkuziemko closed 2 years ago

mkuziemko commented 2 years ago

Description

Changes proposed in this pull request:

In the interactive mode, there exists a list of manifests that can be generated:

If the user specifies multiple manifests types, then there are questions regarding common information to all manifests (including Metadata, Versioning etc.). Then, there are questions regarding individual manifests.

Note: there also implemented the sync between them. For instance, if the user specifies the Type and Interface, in the Interface corrected Types will be added. The same mechanism is for Interface and Implementation.

As the last step, there was added the generation of the Empty manifests, previously there was Helm and Terraform option.

Lastly, I deliberately decided to have a mismatch between interactive and non-interactive modes. In the non-interactive mode, there are fewer options - for instance, some of the Metadata has a default value and cannot be changed.

Related issue(s)