Skip to content

Commit 51fc82e

Browse files
authored
Merge pull request #6 from Descent098/v0.4.0
Merging version 0.4.0 changes
2 parents b0d1fe5 + 10a67b1 commit 51fc82e

8 files changed

Lines changed: 278 additions & 125 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changelog
22

3+
## V 0.4.0; February 10th
4+
5+
Focus for this release was breaking up command line parsing into more testable chunks.
6+
7+
Features:
8+
9+
- All argument parsing is now based on discrete functions
10+
- Added a list command to show your current available commands
11+
12+
Documentation:
13+
14+
- Created API documentation site: https://kieranwood.ca/ahd
15+
316
## V 0.3.0; February 6th
417

518
Focus for this release was on building sustainable development pipelines (logging, testing etc.), and making the project more reliable in edge cases and error handling.

README.md

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,23 @@ Run ```pip install ahd``` or ```sudo pip3 install ahd```
2626
### Usage
2727

2828
```bash
29-
Usage:
30-
ahd [-h] [-v] [-d]
29+
Usage:
30+
ahd list [-l]
31+
ahd [-h] [-v] [-d]
3132
ahd docs [-a] [-o]
3233
ahd config [-e] [-i CONFIG_FILE_PATH]
3334
ahd register <name> [<command>] [<paths>]
3435
ahd <name> [<command>] [<paths>]
3536

3637
Options:
37-
-h, --help show this help message and exit
38-
-v, --version show program's version number and exit
39-
-a, --api shows the local API docs
40-
-o, --offline shows the local User docs instead of live ones
41-
-e, --export exports the configuration file
42-
-i CONFIG_FILE_PATH, --import CONFIG_FILE_PATH
43-
imports the configuration file
38+
-h, --help show this help message and exit
39+
-v, --version show program's version number and exit
40+
-l, --long Shows all commands in configuration with paths and commands
41+
-a, --api shows the local API docs
42+
-o, --offline shows the local User docs instead of live ones
43+
-e, --export exports the configuration file
44+
-i CONFIG_FILE_PATH, --import CONFIG_FILE_PATH
45+
imports the configuration file
4446
```
4547
4648
@@ -60,6 +62,14 @@ This example was somewhat trivial but keep in mind this effectively means you ca
6062
6163
#### Arguments
6264
65+
##### list
66+
67+
The list command shows a list of your current registered commands.
68+
69+
**Options**:
70+
71+
\- \-\-long: Shows all commands in configuration with paths and commands
72+
6373
##### docs
6474
6575
The docs command is designed to bring up documentation as needed, you can run ```ahd docs``` to open the documentation site in the default browser.
@@ -104,7 +114,7 @@ This is a placeholder value for the name of a command you have registered. Once
104114
105115
## Additional Documentation
106116
107-
Additional user and development/contribution documentation will be available at [https://ahd.readthedocs.io/en/latest/](https://ahd.readthedocs.io/en/latest/).
117+
Additional user and development/contribution documentation will be available at [https://ahd.readthedocs.io/en/latest/](https://ahd.readthedocs.io/en/latest/). Also API documentation is available at [https://kieranwood.ca/ahd](https://kieranwood.ca/ahd)
108118
109119
110120

ahd/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
"""Top level module for AHD.
2+
3+
Here lies all the code necessary to use AHD as an API.
4+
5+
If you are here to help or contribute to the project, check out the development guide: https://ahd.readthedocs.io/en/latest/contributing/
6+
"""

ahd/autocomplete.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""This module is used to generate autocomplete files for vaious systems (bash, zsh etc.)
1+
"""This module is used to generate autocomplete files for various systems (bash, zsh etc.)
22
33
Examples
44
--------

0 commit comments

Comments
 (0)