Skip to content

Commit f128dc3

Browse files
committed
specops cli updated
1 parent c788da2 commit f128dc3

10 files changed

Lines changed: 1481 additions & 1526 deletions

File tree

.github/workflows/scripts/create-release-packages.sh

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,16 @@ build_variant() {
150150
esac
151151
fi
152152

153-
[[ -d templates ]] && { mkdir -p "$SPEC_DIR/templates"; find templates -type f -not -path "templates/commands/*" -not -name "vscode-settings.json" -exec cp --parents {} "$SPEC_DIR"/ \; ; echo "Copied templates -> .specops/templates"; }
153+
# Copy templates (excluding commands/ and vscode-settings.json) - macOS compatible
154+
if [[ -d templates ]]; then
155+
mkdir -p "$SPEC_DIR/templates"
156+
find templates -type f -not -path "templates/commands/*" -not -name "vscode-settings.json" | while read -r file; do
157+
dest_dir="$SPEC_DIR/$(dirname "$file")"
158+
mkdir -p "$dest_dir"
159+
cp "$file" "$dest_dir/"
160+
done
161+
echo "Copied templates -> .specops/templates"
162+
fi
154163

155164
# NOTE: We substitute {ARGS} internally. Outward tokens differ intentionally:
156165
# * Markdown/prompt (claude, copilot, cursor-agent, opencode): $ARGUMENTS

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ SpecOps brings the **Spec-Driven Development** methodology to Infrastructure as
1818
3. **Execute** with AI-assisted automation
1919
4. **Deploy** confidently with GitOps
2020

21-
SpecOps is inspired by [GitHub's Spec Kit](https://github.com/github/spec-kit) and adapted specifically for infrastructure engineering.
21+
SpecOps is inspired by [GitHub's Spec Kit](https://github.com/dotlabshq/spec-ops) and adapted specifically for infrastructure engineering.
2222

2323
---
2424

@@ -41,7 +41,7 @@ SpecOps is inspired by [GitHub's Spec Kit](https://github.com/github/spec-kit) a
4141

4242
```bash
4343
# Install SpecOps CLI
44-
uv tool install specops-cli --from git+https://github.com/dotlabshq/specops.git
44+
uv tool install specops-cli --from git+https://github.com/dotlabshq/spec-ops.git
4545

4646
# Verify installation
4747
specops check
@@ -356,7 +356,7 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
356356

357357
## 🙏 Acknowledgements
358358

359-
- Inspired by [GitHub Spec Kit](https://github.com/github/spec-kit)
359+
- Inspired by [GitHub Spec Kit](https://github.com/dotlabshq/spec-ops)
360360
- Built on top of industry-standard tools: Terraform, Ansible, Kubernetes, ArgoCD, Cilium
361361

362362
---

poetry.lock

Lines changed: 95 additions & 759 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 15 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,77 +1,23 @@
1-
[build-system]
2-
requires = ["hatchling"]
3-
build-backend = "hatchling.build"
4-
51
[project]
6-
name = "specops-cli"
7-
version = "0.0.1"
8-
description = "Spec-Driven Infrastructure as Code toolkit for systematic deployment automation"
9-
readme = "README.md"
2+
name = "speops-cli"
3+
version = "0.0.22"
4+
description = "SpecOps CLI, part of DotLabs Spec Ops. A tool to bootstrap your projects for Spec-Driven Infrastructure as Code."
105
requires-python = ">=3.11"
11-
license = "MIT"
12-
keywords = ["infrastructure", "iac", "devops", "terraform", "ansible", "argocd", "kubernetes", "cilium", "gitops", "spec-driven"]
13-
authors = [
14-
{ name = "SpecOps Contributors" }
15-
]
16-
classifiers = [
17-
"Development Status :: 3 - Alpha",
18-
"Intended Audience :: Developers",
19-
"License :: OSI Approved :: MIT License",
20-
"Programming Language :: Python :: 3",
21-
"Programming Language :: Python :: 3.11",
22-
"Programming Language :: Python :: 3.12",
23-
"Topic :: Software Development :: Build Tools",
24-
"Topic :: System :: Systems Administration",
25-
]
266
dependencies = [
27-
"click>=8.1.7",
28-
"rich>=13.7.0",
29-
"pyyaml>=6.0.1",
30-
"requests>=2.31.0",
31-
"gitpython>=3.1.40",
32-
]
33-
34-
[project.optional-dependencies]
35-
dev = [
36-
"pytest>=7.4.3",
37-
"pytest-cov>=4.1.0",
38-
"black>=23.12.0",
39-
"ruff>=0.1.8",
40-
"mypy>=1.7.1",
7+
"typer",
8+
"rich",
9+
"httpx[socks]",
10+
"platformdirs",
11+
"readchar",
12+
"truststore>=0.10.4",
4113
]
4214

43-
[project.urls]
44-
Homepage = "https://github.com/dotlabshq/specops"
45-
Documentation = "https://github.com/dotlabshq/specops#readme"
46-
Repository = "https://github.com/dotlabshq/specops"
47-
Issues = "https://github.com/dotlabshq/specops/issues"
48-
4915
[project.scripts]
50-
specops = "specops_cli.cli:main"
16+
speops = "specops_cli:main"
5117

52-
[tool.hatch.build.targets.wheel]
53-
packages = ["src/specops_cli"]
54-
55-
[tool.black]
56-
line-length = 100
57-
target-version = ["py311"]
58-
59-
[tool.ruff]
60-
line-length = 100
61-
target-version = "py311"
62-
63-
[tool.ruff.lint]
64-
select = ["E", "F", "I", "N", "W"]
65-
ignore = []
66-
67-
[tool.mypy]
68-
python_version = "3.11"
69-
warn_return_any = true
70-
warn_unused_configs = true
71-
disallow_untyped_defs = true
18+
[build-system]
19+
requires = ["hatchling"]
20+
build-backend = "hatchling.build"
7221

73-
[tool.pytest.ini_options]
74-
testpaths = ["tests"]
75-
python_files = ["test_*.py"]
76-
python_classes = ["Test*"]
77-
python_functions = ["test_*"]
22+
[tool.hatch.build.targets.wheel]
23+
packages = ["src/specops_cli"]

0 commit comments

Comments
 (0)