- 1. Clap
- 1.1. Clap - Command Line Argument Parser
- 1.2. Clap Single positional argument
- 1.3. Clap Several positional arguments
- 1.4. Clap Single long argument
- 1.5. Clap Short arguments
- 1.6. Clap accepting string, number, bool - default values
- 1.7. Clap add help to each argument
- 1.8. Clap show the version number from Cargo.toml
- 1.9. Clap Show the description of the crates using the about command
- 1.10. Clap Show the description written in the code
- 1.11. Clap show generated description
- 1.12. Clap validate number range
- 1.13. Clap subcommands
- 1.14. Clap mutually exclusive
- 1.15. Clap mutually exclusive with group
- 1.16. Clap example for CLI
- 1.17. Clap: improving the help with value_name
- 1.18. Clap: one of a fixed list of values (enumerated)
- 1.19. Clap and environment variables
- 1.20. Clap - set default value if other flag provided
- 1.21. Clap - set default value if other argument provided
- 1.22. Clap - set default value based on another flag
- 1.23. Clap complete enum - name of shell
- 1.24. Repeat the same argument several times
- 1.25. Limit the number of values for a vector argument
- 1.26. Clap: fixed list of valid values for generic type
- 1.27. Clap: arbitraty function to validate argument
- 1.28. Clap: default value only if the flag was provides
- 1.29. Exercise: implement accepting the parameters of wc
- 1.30. Solution: implement accepting the parameters of wc