Skip to content

Add command line arguments to all examples. Were already on some.#410

Open
freemansoft wants to merge 1 commit intodart-lang:masterfrom
freemansoft:features/add-parseargs-examples
Open

Add command line arguments to all examples. Were already on some.#410
freemansoft wants to merge 1 commit intodart-lang:masterfrom
freemansoft:features/add-parseargs-examples

Conversation

@freemansoft
Copy link
Copy Markdown

@freemansoft freemansoft commented Feb 10, 2024

  • Add command line arguments to all shelf example programs.

  • I’ve reviewed the contributor guide and applied the relevant portions to this PR.
Details
  • One of the examples already had command line arguments. I rationalized all the example programs taking the same arguments and adding one in one case.
  • Commandline arguments are cool. They clutter the examples but make them more flexible.
  • Did not add --help
  • Not fixed: Some of the example programs are example.dart. Others are main.dart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant