Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optional arguments in docopt #48

Open
rorywhite200 opened this issue Nov 28, 2023 · 0 comments
Open

Optional arguments in docopt #48

rorywhite200 opened this issue Nov 28, 2023 · 0 comments

Comments

@rorywhite200
Copy link
Collaborator

rorywhite200 commented Nov 28, 2023

Hi team, if you need to use optional arguments in the docopt library here is a handy syntax trick. You just put brackets around the argument.

Usage: pearson_script.R <data_path> <col1> <col2> <output_path> [<alternative>]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant