flowsh-cli 0.1.1__tar.gz → 0.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flowsh-cli
3
- Version: 0.1.1
3
+ Version: 0.2.0
4
4
  Summary: Generate Bash harness scripts from workflow YAML files.
5
5
  License-Expression: MIT
6
6
  Classifier: Programming Language :: Python :: 3.11
@@ -19,7 +19,7 @@ Description-Content-Type: text/markdown
19
19
  `flowsh` is a small `uv` Python CLI deliberately reduced to one tool:
20
20
 
21
21
  ```bash
22
- uv run flowsh .made/workflows.yml
22
+ uvx flowsh-cli .made/workflows.yml
23
23
  ```
24
24
 
25
25
  It reads MADE workflow YAML and writes executable Bash harness scripts for OpenCode.
@@ -58,21 +58,23 @@ Harness paths are derived from workflow ids. `wf_example` writes `.harness/examp
58
58
 
59
59
  ```bash
60
60
  # Generate every workflow harness
61
- uv run flowsh .made/workflows.yml
61
+ uvx flowsh-cli .made/workflows.yml
62
62
 
63
63
  # Generate one workflow by id
64
- uv run flowsh .made/workflows.yml --workflow wf_example
64
+ uvx flowsh-cli .made/workflows.yml --workflow wf_example
65
65
 
66
66
  # Show planned outputs without writing files
67
- uv run flowsh .made/workflows.yml --dry-run
67
+ uvx flowsh-cli .made/workflows.yml --dry-run
68
68
 
69
69
  # Overwrite existing harness files
70
- uv run flowsh .made/workflows.yml --force
70
+ uvx flowsh-cli .made/workflows.yml --force
71
71
 
72
72
  # Show version
73
- uv run flowsh --version
73
+ uvx flowsh-cli --version
74
74
  ```
75
75
 
76
+ You can also run it via `uv run flowsh-cli` if installed locally.
77
+
76
78
  ## CLI Contract
77
79
 
78
80
  `flowsh` is non-interactive. It never prompts for missing information.
@@ -3,7 +3,7 @@
3
3
  `flowsh` is a small `uv` Python CLI deliberately reduced to one tool:
4
4
 
5
5
  ```bash
6
- uv run flowsh .made/workflows.yml
6
+ uvx flowsh-cli .made/workflows.yml
7
7
  ```
8
8
 
9
9
  It reads MADE workflow YAML and writes executable Bash harness scripts for OpenCode.
@@ -42,21 +42,23 @@ Harness paths are derived from workflow ids. `wf_example` writes `.harness/examp
42
42
 
43
43
  ```bash
44
44
  # Generate every workflow harness
45
- uv run flowsh .made/workflows.yml
45
+ uvx flowsh-cli .made/workflows.yml
46
46
 
47
47
  # Generate one workflow by id
48
- uv run flowsh .made/workflows.yml --workflow wf_example
48
+ uvx flowsh-cli .made/workflows.yml --workflow wf_example
49
49
 
50
50
  # Show planned outputs without writing files
51
- uv run flowsh .made/workflows.yml --dry-run
51
+ uvx flowsh-cli .made/workflows.yml --dry-run
52
52
 
53
53
  # Overwrite existing harness files
54
- uv run flowsh .made/workflows.yml --force
54
+ uvx flowsh-cli .made/workflows.yml --force
55
55
 
56
56
  # Show version
57
- uv run flowsh --version
57
+ uvx flowsh-cli --version
58
58
  ```
59
59
 
60
+ You can also run it via `uv run flowsh-cli` if installed locally.
61
+
60
62
  ## CLI Contract
61
63
 
62
64
  `flowsh` is non-interactive. It never prompts for missing information.
@@ -4,7 +4,7 @@ build-backend = "uv_build"
4
4
 
5
5
  [project]
6
6
  name = "flowsh-cli"
7
- version = "0.1.1"
7
+ version = "0.2.0"
8
8
  description = "Generate Bash harness scripts from workflow YAML files."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
@@ -25,7 +25,7 @@ Homepage = "https://github.com/tbrandenburg/flowsh"
25
25
  Source = "https://github.com/tbrandenburg/flowsh"
26
26
 
27
27
  [project.scripts]
28
- flowsh = "flowsh_cli.cli:main"
28
+ flowsh-cli = "flowsh_cli.cli:main"
29
29
 
30
30
  [dependency-groups]
31
31
  dev = [
@@ -25,7 +25,7 @@ app = typer.Typer(
25
25
 
26
26
  def main(argv: Sequence[str] | None = None) -> int:
27
27
  try:
28
- app(args=list(argv) if argv is not None else None, prog_name="flowsh")
28
+ app(args=list(argv) if argv is not None else None, prog_name="flowsh-cli")
29
29
  except SystemExit as error:
30
30
  return error.code if isinstance(error.code, int) else 1
31
31