Skip to content

Commit

Permalink
list few advantages of CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
bast committed Jun 26, 2024
1 parent 616689a commit e576c8e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion content/2/structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ Adding a command-line interface (CLI) to a script is an often undervalued "super
:::

:::{discussion}
- We will discuss the advantages of doing this.
- We will discuss the advantages of doing this:
- **Easier to use**: Give the user the freedom to change data and settings without having to modify the code.
- **Easier to parallelize**: Give the user the freedom to choose their parallelization strategy.
- **Easier to automate**: As part of pipeline/workflow tools.
:::

Here is an example solution using [Argparse](https://docs.python.org/3/library/argparse.html):
Expand Down

0 comments on commit e576c8e

Please sign in to comment.