Skip to content

Non-interactive mode #147

@rudiedirkx

Description

@rudiedirkx

I use gdrive to save backups into Drive every night with cron. A few days ago for some reason the API keys didn't work anymore, and the files upload (in cron) asked for new keys, interactively. I only found out after the next day, because Python (?) complained about a socket/address being in use.

I don't ever want the cron script to go into auth flow when I ask for files upload. Maybe that's useful when interactive, but it's breaking when non-interactive.

2 requests:

  • Fix the socket error. Apparently you can just overwrite the socket? Maybe that's good enough?
  • Add non-interactive mode. Any keys/auth error exits with error message, no auth flow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions