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

feat: add T&C link to init script #20

Merged
merged 4 commits into from
Sep 30, 2024
Merged

feat: add T&C link to init script #20

merged 4 commits into from
Sep 30, 2024

Conversation

andyantrim
Copy link

No description provided.

@@ -35,6 +35,15 @@ def init_env(filename: str = ".env"):
click.echo("Exiting with no changes")
return

# Check user is aware of T&Cs
tcs = input(
"The Nyx SDK allows the sharing of links through a Nyx Instance. "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this enough? or do we want to call out each point as in UI?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Valid point, I think copying the UI makes sense, even if it's just for consistence

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I confirm that I have the right to share this data.
I confirm that this data does not contain any Personally Identifiable Information
or otherwise sensitive information, and that it does not violate any laws.
I confirm I have read the Nyx Terms of Service and I am content to proceed.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

link?

@@ -21,6 +21,19 @@
from nyx_client.cli.common import SDK_CLI_DEFAULT_HEADERS
from nyx_client.identity_auth import IdentityAuth

TERMS = """
To use Nyx you must agree to our Terms of service when sharing content
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Capitalise Service?

# Check user is aware of T&Cs
tcs = input(TERMS)
if tcs.lower() != "y":
click.echo("You must agree to the terms of service!")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Terms of Service?

@andyantrim andyantrim merged commit 07f8c05 into main Sep 30, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants