A simple CLI tool to generate a Pkl definition for a given action
Project description
pkl-github-action-step-generator
A simple CLI tool to generate a Pkl definition for a given action
Usage
The tool supports generating Pkl step definitions from two sources, remote or local.
For local, the command is as follows:
pkl-github-actions-step-generator from-local <path-to-action.yml> <full-reference-to-action> [-o --output <OUTPUT FILE>] [--pkl-github-actions-bindings] [--pkl-github-actions-bindings-version]
full-reference-to-action should be in the form you would use to reference the action in a workflow (e.g. actions/checkout@v4).
The --pkl-github-actions-bindings enables the generation of bindings to pkl-github-actions. The version flag allows you to specify a version (otherwise a default will be used).
If no output is provided, the file content will instead be output to stdout.
Remote has the same options, except it finds the action.yml in the remote repository:
pkl-github-actions-step-generator from-remote <full-reference-to-action> [-o --output <OUTPUT FILE>] [--pkl-github-actions-bindings] [--pkl-github-actions-bindings-version]
For example, to generate a file containing the definition for the checkout action, the command would be:
pkl-github-actions-step-generator from-remote actions/checkout@v4 -o checkout.pkl
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pkl_github_actions_step_generator-0.1.13.tar.gz.
File metadata
- Download URL: pkl_github_actions_step_generator-0.1.13.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8552a9053025ba5516423b20e3c52d04743b4a4bd803a4ef18584d28e5fc7b6
|
|
| MD5 |
53622841ea93fb503ab3195532eb789b
|
|
| BLAKE2b-256 |
edc02011b1621e2fa70211ef2b441750c74e17f904168f614fc1aae7a7be05d4
|
File details
Details for the file pkl_github_actions_step_generator-0.1.13-py3-none-any.whl.
File metadata
- Download URL: pkl_github_actions_step_generator-0.1.13-py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44af00eea437c2ee9ce52bef7607186bbd8d74371042fe8ea3dcc2d4e40a3a6e
|
|
| MD5 |
1b348f3e3544accf5fd3498edd59d8d9
|
|
| BLAKE2b-256 |
b6f86d7f15404e26c2aca37589d3d1033ab182ec2d52a7417851e34467579dae
|