parsec-cloud icon indicating copy to clipboard operation
parsec-cloud copied to clipboard

Implement ToS acceptance via CLI

Open mmmarcos opened this issue 1 year ago • 0 comments

The CLI-based workflow described in #7847 needs to be able to work on a server requesting ToS acceptance (introduced in #6439).

Some ideas on how to achieve this (to be discussed):

  • CLI "auto-accept-tos" option added to each command
  • CLI "auto-accept-tos" mode via configuration or envvar

In either cases, the workflow would be something like:

  1. CLI runs command X
  2. Server respond "ToS acceptance required"
  3. CLI sends ToS acceptance
  4. CLI retry command X

Notes:

  • Only implementing CLI commands for getting/accept ToS is not sufficient because it should be possible to automate the process (thus the auto accept option or mode).
  • Also, exposing commands for getting/accept ToS is not strictly required either because this could be transparently implemented as a behavior of the CLI (enabled via envvar) instead of commands available for the user. This could be done later.

TODOs

  • [x] #8773
  • [ ] #8778
  • [ ] #8782
  • [ ] #8787

mmmarcos avatar Oct 08 '24 07:10 mmmarcos