Skip to content

Commit acca84d

Browse files
committed
Fix docs
1 parent 61f6a21 commit acca84d

2 files changed

Lines changed: 45 additions & 0 deletions

File tree

docs/cre_workflow.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ cre workflow [optional flags]
3434
* [cre workflow custom-build](cre_workflow_custom-build.md) - Converts an existing workflow to a custom (self-compiled) build
3535
* [cre workflow delete](cre_workflow_delete.md) - Deletes all versions of a workflow from the Workflow Registry
3636
* [cre workflow deploy](cre_workflow_deploy.md) - Deploys a workflow to the Workflow Registry contract
37+
* [cre workflow hash](cre_workflow_hash.md) - Computes and displays workflow hashes
3738
* [cre workflow pause](cre_workflow_pause.md) - Pauses workflow on the Workflow Registry contract
3839
* [cre workflow simulate](cre_workflow_simulate.md) - Simulates a workflow
3940

docs/cre_workflow_hash.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
## cre workflow hash
2+
3+
Computes and displays workflow hashes
4+
5+
### Synopsis
6+
7+
Computes the binary hash, config hash, and workflow hash for a workflow. The workflow hash uses the same algorithm as the on-chain workflow ID.
8+
9+
```
10+
cre workflow hash <workflow-folder-path> [optional flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
cre workflow hash ./my-workflow
17+
cre workflow hash ./my-workflow --public_key 0x1234...abcd
18+
```
19+
20+
### Options
21+
22+
```
23+
--config string Override the config file path from workflow.yaml
24+
--default-config Use the config path from workflow.yaml settings (default behavior)
25+
-h, --help help for hash
26+
--no-config Hash without a config file
27+
--public_key string Owner address to use for computing the workflow hash. Required when CRE_ETH_PRIVATE_KEY is not set and no workflow-owner-address is configured. Defaults to the address derived from CRE_ETH_PRIVATE_KEY or the workflow-owner-address in project settings.
28+
--wasm string Path or URL to a pre-built WASM binary (skips compilation)
29+
```
30+
31+
### Options inherited from parent commands
32+
33+
```
34+
-e, --env string Path to .env file which contains sensitive info
35+
-R, --project-root string Path to the project root
36+
-E, --public-env string Path to .env.public file which contains shared, non-sensitive build config
37+
-T, --target string Use target settings from YAML config
38+
-v, --verbose Run command in VERBOSE mode
39+
```
40+
41+
### SEE ALSO
42+
43+
* [cre workflow](cre_workflow.md) - Manages workflows
44+

0 commit comments

Comments
 (0)