From e01c385887db49fc2baa75516e816888a6fd69ec Mon Sep 17 00:00:00 2001 From: Ethan Brooks Date: Wed, 6 Apr 2022 21:06:24 -0400 Subject: [PATCH] update readme --- README.py | 4 ++-- readme.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.py b/README.py index 9a82673..a2c5229 100644 --- a/README.py +++ b/README.py @@ -35,7 +35,7 @@ # the user can also drop down to the lower-level syntax that lies behind the sugar, which can # handle any reasonable amount of logical complexity. # -# ## The `@command` +# ## The [`@command`](https://dollar-lambda.readthedocs.io/en/latest/api.html?highlight=command#dollar_lambda.decorators.command) # decorator # For the vast majority of parsing patterns, # [`@command`](https://dollar-lambda.readthedocs.io/en/latest/api.html?highlight=command#dollar_lambda.decorators.command) @@ -90,7 +90,7 @@ def main(x: int, **kwargs): main("-x", "1") # %% [markdown] -# ## `CommandTree` for dynamic dispatch +# ## [`CommandTree`](https://dollar-lambda.readthedocs.io/en/latest/commandtree.html) for dynamic dispatch # For many programs, a user will want to use one entrypoint for one set of # arguments, and another for another set of arguments. Returning to our example, # let's say we wanted to execute `prod_function` when the user provides the diff --git a/readme.md b/readme.md index 2aab680..c591b17 100644 --- a/readme.md +++ b/readme.md @@ -19,7 +19,7 @@ For complex parsing situations that exceed the expressive capacity of this synta the user can also drop down to the lower-level syntax that lies behind the sugar, which can handle any reasonable amount of logical complexity. -## The `@command` +## The [`@command`](https://dollar-lambda.readthedocs.io/en/latest/api.html?highlight=command#dollar_lambda.decorators.command) decorator For the vast majority of parsing patterns, [`@command`](https://dollar-lambda.readthedocs.io/en/latest/api.html?highlight=command#dollar_lambda.decorators.command) @@ -110,7 +110,7 @@ main("-x", "1") The following arguments are required: --dev -## `CommandTree` for dynamic dispatch +## [`CommandTree`](https://dollar-lambda.readthedocs.io/en/latest/commandtree.html) for dynamic dispatch For many programs, a user will want to use one entrypoint for one set of arguments, and another for another set of arguments. Returning to our example, let's say we wanted to execute `prod_function` when the user provides the