Closed shubham4443 closed 1 year ago
spacectl package init
sc/package.yaml
file in $PWD
name
) - Default (Current working directory name)labels
) - Default set of labels to be added to each resource being applied- Make sure we implicitly add a label space-cloud.io/package=<package-name>
sc/output
)sc/resources
)Flags or survey:
--name
/ -n
(Defaults: Working directory name)--language
/ --lang
/ -l
--output-dir
/-o
--resource-dir
/-r
spacectl package apply
admin manager
)spacectl package get all
spacectl package get <kind>
Create additional client generation commands:
spacectl package init
- To create sc.yaml config file and required folder structure. Folder structure includesoperation
folder where client stores graphql files andresources
folder where space-cloud generatesCompiledGraphqlSources
CR.spacectl package apply
- A command which is equivalent to the helm upgrade command