ADK offers action developers a command-line interface (CLI) to kick off action development.
The following three commands are offered:
Generates action definition file in the current directory (.codecatalyst/actions/action.yml by default).
Example:
adk init --lang typescript --space MySpace --proj <CODECATALYST-PROJECT-NAME> --repo <CODECATALYST-REPO-NAME> --action <ACTION-NAME>
Bootstraps action project in the current folder from action.yml file. Bootstrap command generates source code, CI/CD workflow configuration, config files, and a basic readme file.
Example:
adk bootstrap -f .codecatalyst/actions/action.yml
Validates action project.
Example:
adk validate