-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add docstrings for cubids/cli.py #391
Conversation
entry point cli arguments raise a deprecation error, but the corresponding arg parsers do not. Should we add mention of deprecation in the corresponding arg parsers? |
cubids/cli.py
Outdated
_main(argv=None) | ||
Set entrypoint for "cubids" CLI. | ||
|
||
Each function that serves as an entry point for a CLI command in the formart of `cubids-function` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check this wording + see related comment on the conversation page.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few small things
cubids/cli.py
Outdated
Returns | ||
------- | ||
argparse.ArgumentParser | ||
The argument parser with the necessary arguments configured. | ||
|
||
Parameters | ||
---------- | ||
from_json : str | ||
Source JSON file path. This file contains the data to be copied. | ||
to_json : str | ||
Destination JSON file path. This file will have data from `from_json` copied into it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you put Parameters before Returns in these?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like it's still backwards in this one.
Co-authored-by: Taylor Salo <[email protected]>
relates to #384 and #358.
Changes proposed in this pull request