Skip to content

Commit

Permalink
Patch v1.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
sahasatvik committed Mar 7, 2022
1 parent a5bfef7 commit e279fc7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ calendar_id = c_xxxxxxxxxxxxxxxxxxxxxxxxxx@group.calendar.google.com
## Usage
Run `welearn_bot -h` to get the following help message.
```
usage: welearn_bot [-h] [-v] [-d] [-c] [-i [IGNORETYPES ...]] [-f] [-p PATHPREFIX] action [courses ...]
usage: welearn_bot [-h] [--version] [-v] [-d] [-c] [-i [IGNORETYPES ...]] [-f]
[-m] [-p PATHPREFIX]
action [courses ...]
A command line client for interacting with WeLearn.
Expand All @@ -78,13 +80,14 @@ positional arguments:
urls - lists urls
courses - lists enrolled courses
whoami - shows the user's name and exits
Abbreviations such as any one of 'f', 'a', 'u', 'c', 'w' are supported.
Abbreviations such as any one of 'f', 'a', 'u', 'c', 'w' are supported.
courses IDs of the courses to download files from. The word ALL selects everything
from the [courses] section in .welearnrc or welearn.ini
optional arguments:
options:
-h, --help show this help message and exit
-v, --version show program's version number and exit
--version show program's version number and exit
-v, --verbose show verbose warnings/errors
-d, --dueassignments show only due assignments with the 'assignments' action
-c, --gcalendar add due assignments to Google Calendar with the 'assignments' action
-i [IGNORETYPES ...], --ignoretypes [IGNORETYPES ...]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
author = "Parth Bibekar",
author_email = "bibekarparth24@gmail.com",
url = "https://github.com/ParthBibekar/Welearn-bot",
version = "1.2.4",
version = "1.2.5",
license = "MIT",
package_dir = {"": "src"},
packages=setuptools.find_packages(where="src"),
Expand Down
2 changes: 1 addition & 1 deletion src/welearnbot/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def setup_parser() -> ArgumentParser:
nargs="*",
help="IDs of the courses to download files from. The word ALL selects everything \nfrom the [courses] section in .welearnrc or welearn.ini",
)
parser.add_argument("--version", action="version", version="1.2.4")
parser.add_argument("--version", action="version", version="1.2.5")
parser.add_argument(
"-v",
"--verbose",
Expand Down

0 comments on commit e279fc7

Please sign in to comment.