-
Notifications
You must be signed in to change notification settings - Fork 2
Make computeType an input parameter #33
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
Conversation
Thanks for the contribution! It looks like @ppandit-sfdc is an internal user so signing the CLA is not required. However, we need to confirm this. |
src/datacustomcode/cli.py
Outdated
@click.option("--version", default="0.0.1") | ||
@click.option("--description", default="Custom Data Transform Code") | ||
def deploy(path: str, name: str, version: str, description: str): | ||
@click.option("--compute-type", default="CPU_2XL") |
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.
Please add documentation here using help="" to describe the options in the CLI directly.
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.
Not a huge deal, but something shorter like "cpu-size" or just "size" is nicer to type.
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.
Ill add the help part, and will also change the arg to cpu-size 👍
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.
updated here
* Add argument for computeType
No description provided.