GeezerVison is showing github.com — cobolwork/docs/reference/README.md at main · Portll/cobolwork
47 lines (37 loc) · 2.38 KB
File metadata and controls
47 lines (37 loc) · 2.38 KB
Copy raw file
Download raw file
OutlineEdit and raw actions
This page is generated by node diag/generate-reference.mjs from cobolwork capabilities. Change the facts there, not this page.
| Command |
What it does |
cobolwork scan |
Run every rule set over a tree and write the findings. |
cobolwork flow |
Write the data-flow findings with the path the data took. |
cobolwork inventory |
List what is in a tree and what could not be read. |
cobolwork parse |
Parse one source file and write a summary of its structure. |
cobolwork sbom |
Write a CycloneDX 1.6 bill of materials for the tree. |
cobolwork diff |
Write what a change reaches: moved layouts, new call targets, and findings added or removed. |
cobolwork baseline |
Accept what a scan reports now until a date, in the tree's baseline file. |
cobolwork tui |
Read a scan in the terminal, coverage first. |
cobolwork explain |
Write one finding with the source of every hop and the declaration of every item on its path. |
cobolwork advise |
Write every remediation and best practice for the repository as one document. |
cobolwork gate |
Judge whether a patch fixed one finding and moved nothing else. |
cobolwork build |
The build gate: rank every finding, check the policy, and run the compiler only on a pass. |
cobolwork evidence |
Verify, seal, anchor or sign the evidence a run records. |
cobolwork capabilities |
Write what this cobolwork can do as one document. |
cobolwork and ironwork give each status one meaning.
| Status |
Meaning |
| 0 |
It ran. A command that gives a verdict answered yes. |
| 1 |
It ran, and the verdict is no. |
| 2 |
It could not run: a usage error, or an input it cannot use. Nothing was judged. |
| 3 |
Undecided: it ran, and what it could not read leaves no verdict. |
| 4 |
The compiler refused a program after the checks passed. |
Options every command takes
| Option |
What it does |
--help |
Print the usage text and exit. |
--version |
Print the version and exit. |
--rules-path <gitleaks> |
Print the path of the mainframe credential rules and exit. |