Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanabrooks committed Apr 7, 2022
1 parent ee6b7b8 commit e01c385
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e01c385

Please sign in to comment.