Skip to content

Commit 606c9c5

Browse files
committed
Added help to sms: view&send, version bump
1 parent 2559aa0 commit 606c9c5

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
This project uses [semantic versioning](https://semver.org/). Note that semver principles for this tool are only reflected on public part of it - `cli`. Code of this project may be changed in any **not backwards compatible** way without `MAJOR` version incrementation.
33

44

5+
## 0.4.3 : 2022.05.29
6+
### Fixed
7+
- Added help messages to `sms`: `send` and `view` commands
8+
9+
510
## 0.4.2 : 2022.05.27
611
### Fixed
712
- The last added features are now stated in [README](./README.md)

hurocon/cli/sms.py

+6
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ def sms():
1717
@click.option('-n', '--number', default='', help='Number that message will be sent to')
1818
@click.option('-t', '--text', default='', help='Text of the message to be sent')
1919
def sms_send(number: str, text: str):
20+
""" Send plain-text sms to specified number """
2021
if len(number) == 0:
2122
number = input('Number: ')
2223
if len(text) == 0:
@@ -110,6 +111,11 @@ def sms_list(page_depth: int, content_trim: int):
110111
help='Depth of pages to be fetched if available'
111112
)
112113
def sms_view(message_index: int, page_depth: int):
114+
"""
115+
Show message by index
116+
117+
Message index can be fetched using the "sms list" command
118+
"""
113119
response = {}
114120

115121
try:

hurocon/meta.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version = '0.4.2'
1+
version = '0.4.3'
22
author = 'maximilionus'

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "hurocon"
3-
version = "0.4.2"
3+
version = "0.4.3"
44
description = "Command line interface tool for interacting with Huawei LTE routers"
55
authors = ["maximilionus <[email protected]>"]
66
license = "MIT"

0 commit comments

Comments
 (0)