We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f255b8 commit dab35e7Copy full SHA for dab35e7
2 files changed
heatpro/cli/__init__.py
@@ -0,0 +1,15 @@
1
+# my_cli_tool/cli.py
2
+import click
3
+
4
5
+CONTEXT_SETTINGS = dict(help_option_names=["-h", "--help"])
6
7
8
+@click.group(context_settings=CONTEXT_SETTINGS)
9
+def cli():
10
+ """HeatPro"""
11
+ pass
12
13
14
+if __name__ == "__main__":
15
+ cli()
pyproject.toml
@@ -16,6 +16,11 @@ dependencies = [
16
]
17
18
[dependency-groups]
19
+cli = [
20
+ "click>=8.3.3",
21
+ "plotly>=6.5.2",
22
+ "rich>=15.0.0",
23
+]
24
dev = [
25
"nbmake>=1.5.5",
26
"pytest>=9.0.2",
@@ -53,3 +58,6 @@ package = true
53
58
54
59
[tool.ruff]
55
60
line-length = 100
61
62
+[project.scripts]
63
+heatpro = "heatpro.cli:cli"
0 commit comments