Skip to content

Commit 85e6127

Browse files
authored
Merge pull request #2 from kodemore/add-cli-support
Command Line Interface through `opyapi`
2 parents 958e052 + 12749e0 commit 85e6127

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

opyapi/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.1.0"
1+
__version__ = "1.2.0"

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "opyapi"
3-
version = "1.1.0"
3+
version = "1.2.0"
44
description = "JsonSchem and OpenAPI tools for python."
55
authors = [
66
"Dawid Kraczkowski <dawid.kraczkowski@gmail.com>"
@@ -31,6 +31,9 @@ python = "^3.8"
3131
pyyaml = "^5.4.1"
3232
cleo = "^0.8.1"
3333

34+
[tool.poetry.scripts]
35+
opyapi="opyapi.console.application:main"
36+
3437
[tool.poetry.dev-dependencies]
3538
pytest = "^4.1.0"
3639
pytest-cov = "^2.5"

0 commit comments

Comments
 (0)