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

Instead of positional arguments, make flags? #2

Open
esamorodnitsky opened this issue Nov 8, 2022 · 1 comment
Open

Instead of positional arguments, make flags? #2

esamorodnitsky opened this issue Nov 8, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@esamorodnitsky
Copy link

esamorodnitsky commented Nov 8, 2022

For the batch files and the Rscripts, the arguments are positional (ie. first position, second position, third position, etc.). Maybe, instead to make the arguments more descriptive, (eg. --reg, --name, --user, etc.). It is good practice to have appropriately named flags and descriptions of each flag.

@esamorodnitsky esamorodnitsky added the enhancement New feature or request label Nov 8, 2022
@esamorodnitsky
Copy link
Author

I don't know if this is possible in Linux or R, but when I write my Python scripts, when I create named flags, the Python script can be executed without arguments and the script will display each flag and what it does.

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

No branches or pull requests

1 participant