Skip to content

Commit

Permalink
DOC: flesh out docstring, pre-release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
tangkong committed Sep 17, 2024
1 parent 8e8ca2d commit 3b48445
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
7 changes: 7 additions & 0 deletions atef/bin/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ def main():
"""
Create the top-level parser for atef. Gathers subparsers from
atef.bin.subparsers, which have been separated to avoid pre-mature imports
Expects SUBCOMMANDS to be a dictionary mapping subcommand name to a tuple of:
- sub-parser builder function: Callable[[], argparse.ArgumentParser]
- function returning the main function for the sub command:
Callable[[], Callable[**subcommand_kwargs]]
Have fun "parsing" this ;D
"""
top_parser = argparse.ArgumentParser(
prog='atef',
Expand Down
22 changes: 22 additions & 0 deletions docs/source/upcoming_release_notes/256-perf_cli.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
256 perf_cli
############

API Breaks
----------
- N/A

Features
--------
- N/A

Bugfixes
--------
- N/A

Maintenance
-----------
- improves the performance of the CLI entrypoint, defering functional imports as longas possible

Contributors
------------
- tangkong

0 comments on commit 3b48445

Please sign in to comment.