Skip to content

Commit

Permalink
Prepare for 0.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
tillsteinbach committed Jan 25, 2025
1 parent f3e2479 commit de27e63
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ on:
paths:
- .github/workflows/build.yml
- '**.py'
- 'pyproject.toml'
pull_request:
paths:
- .github/workflows/build.yml
- '**.py'
- 'pyproject.toml'

jobs:
build-python:
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Changelog

All notable changes to this project will be documented in this file.

## [Unreleased]
- No unreleased changes so far

## [0.1] - 2025-01-25
Initial release, let's go and give this to the public to try out...

[unreleased]: https://github.com/tillsteinbach/CarConnectivity-plugin-abrp/compare/v0.1...HEAD

[0.1]: https://github.com/tillsteinbach/CarConnectivity-plugin-abrp/releases/tag/v0.1
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ authors = [
{ name = "Till Steinbach" }
]
dependencies = [
"carconnectivity",
"carconnectivity~=0.1.0",
"requests~=2.32.3"
]
readme = "README.md"
Expand All @@ -36,6 +36,9 @@ classifiers = [

[project.urls]

[project.scripts]
carconnectivity-abrp = "carconnectivity_abrp.carconnectivity_abrp_base:main"

[tool.setuptools_scm]
write_to = "src/carconnectivity_plugins/abrp/_version.py"

Expand Down
Empty file.
26 changes: 26 additions & 0 deletions src/carconnectivity_abrp/carconnectivity_abrp_base.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
"""Module containing the commandline interface for the carconnectivity package."""
from __future__ import annotations
from typing import TYPE_CHECKING

import logging

from carconnectivity.carconnectivity_base import CLI

from carconnectivity_plugins.abrp._version import __version__

if TYPE_CHECKING:
pass

LOG = logging.getLogger("carconnectivity-abrp")


def main() -> None:
"""
Entry point for the car connectivity abrp application.
This function initializes and starts the command-line interface (CLI) for the
car connectivity application using the specified logger and application name.
"""
cli: CLI = CLI(logger=LOG, name='carconnectivity-abrp', description='Commandline Interface to interact with Car Services of various brands',
subversion=__version__)
cli.main()

0 comments on commit de27e63

Please sign in to comment.