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

add new args to create-wallet-account #191

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

elv-todd
Copy link
Contributor

@elv-todd elv-todd commented Nov 13, 2024

for use against https://github.com/qluvio/elv-master/pull/1189

USAGE

  • create the accounts in bulk
./elv-live create_wallet_account @fileWithEmails iten4TXq2en3qtu3JREnE5tSLRf9zLod goats-media-property --only_create_account=true
  • then, verify the accounts all exist; get all idents, sort, sort source list, compare

  • finally, send emails to the already-created accounts

for i in `cat fileWithEmails` 
do
  ./elv-live create_wallet_account $email iten4TXq2en3qtu3JREnE5tSLRf9zLod goats-media-property --schedule_at 2024-11-13T09:00:00Z --only_send_email=true  | tee create.out
done

once again re-trying any w/ problems. BUT, now, this is safe as we write metadata to the account on email success; it won't resend unless it didn't before

new args:

  email          the email to create the account for, or @filename for list of emails                [string] [required]
  
      --only_create_account  only create the account, don't send email                                         [boolean]
      --only_send_email      only send account-creation email, do not create the account                       [boolean]
      --schedule_at          set future time for account-creation email (format is 2024-11-13T01:07:05Z)        [string]

usage:

$ time ./elv-live create_wallet_account [email protected] $TENANT goats-media-property --schedule_at `date -v +5M -u +%Y-%m-%dT%H:%M:%SZ` --only_send_email=true --as_url=http://127.0.0.1:8080/as/

@elv-todd elv-todd self-assigned this Nov 13, 2024
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.

1 participant