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

create keep_alive cmd for the interpreter #15

Open
kinderp opened this issue Feb 23, 2023 · 0 comments
Open

create keep_alive cmd for the interpreter #15

kinderp opened this issue Feb 23, 2023 · 0 comments
Assignees
Labels
cli server cli interpreter good first issue Good for newcomers peer fix on peer side

Comments

@kinderp
Copy link
Owner

kinderp commented Feb 23, 2023

In shell/shell.py inside class Beer2BeerShell add two new functions:

  • do_keep_alive()
  • help_keep_alive()

Until now we don't have any implementation for keep alive in client code so first function will just do nothing but we can start to write documentation in help_keep_alive()

    def help_keep_alive(self):
        help_string = """
        DESCRIPTION:
            Send a keep alive message to the indexing server just to maintain an active status in the network.

        USAGE:
            >keep_alive
        """
        print(help_string)
@kinderp kinderp added good first issue Good for newcomers peer fix on peer side cli server cli interpreter labels Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli server cli interpreter good first issue Good for newcomers peer fix on peer side
Projects
None yet
Development

No branches or pull requests

5 participants
@kinderp @paganosalvatore @MentoDavide @FranSal2705 and others