CLI for CECG's Core Platform.
Core Platform is your ultimate all-in-one developer platform designed to turbocharge your software development journey from Day 1.
Interested in learning more about CECG's Core Platform? Book a demo at Core Platform.
Releases for Linux and Mac are published in releases
Download and unzip your platform e.g for Mac with Apple chip download corectl_Darwin_arm64.tar.gz
and add to your path.
Before usage, you should initialize. It sets up your github integration with your developer environments. It requires the following:
NOTE: Ensure that you update init-example.yaml repositories to reference to your actual environments and software template repositories.
To run initialization run:
corectl config init
Saves configuration options and clones repositories: cplatform-environments
and software-templates
.
cplatform-environments
- client repository that holds the configuration settings and parameters for core platform environments.
software-templates
- public repository featuring bootstrap templates designed for quick project setups.
The repositories mentioned above are available for testing purposes. To gain access, you must be added to the appropriate organization and granted the necessary permissions.
Periodically update local corectl
configuration by running:
corectl config update
This command will fetch latest changes for configuration repositories.
After the initialization you can start using corectl
.
To check for available operations run:
corectl --help
Scopes required:
repo
, since corectl
needs access to read, create repositories, create PullRequests, configure environments and variables for the repositories.workflow
, since corectl
may create workflow files when creating new applications.NOTE: Your organization has to enable use of fine-grained tokens for this to be possible.
Requirements for token:
corectl
might be used to create and configure new repositories.corectl
might be used to create new repositories for applications.corectl
will try to clone repositories with configuration and might be used to update contents of the repository.corectl
uses GitHub API with metadata to perform some logic (check if repository exists, for example).corectl
might configure workflow files when creating new applications.corectl
might be used to configure P2P for repositories.corectl
might be used to automatically generate Pull Requests with platform configuration updates.