kinderp/beer2beer

Implement `do_register()` logic inside `shell/shell.py/`

Offen

#14 geöffnet am 23.02.2023

 (0 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Python (0 Forks)auto 404
blockedcligood first issuepeer

Repository-Metriken

Stars
 (0 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Once https://github.com/kinderp/beer2beer/issues/13 has been completed we need to implement in shell/shell.py logic inside do_register().

You can see do_login() as reference, here but summarizing you need to:

  1. Build a correct register payload (see here for deails) using function in https://github.com/kinderp/beer2beer/issues/13
  2. Create a CommandRegister
  3. Call execute() method
register_payload =  CALL UTIL FUNCTION for a list of shared files!!!
register_command = CommandRegister(
                ShellSettings.SERVER_HOST, ShellSettings.SERVER_PORT, register_payload
)
response = register_command.execute()

Contributor Guide