p2pfl.cli moduleΒΆ

CLI for the p2pfl platform.

p2pfl.cli.check_example_exists(example)[source]ΒΆ

Check if the example exists.

Return type:

None

p2pfl.cli.help(example)[source]ΒΆ

Show a help message for the specified example.

Parameters:

example (str) – The name of the example

Return type:

None

p2pfl.cli.launch()[source]ΒΆ

Launch a new node in the p2pfl network.

Return type:

None

p2pfl.cli.list()[source]ΒΆ

List available examples.

Return type:

None

p2pfl.cli.login(token='')[source]ΒΆ

Authenticate with the p2pfl platform using your API token.

Parameters:

token (str) – Your API token.

Return type:

None

p2pfl.cli.remote()[source]ΒΆ

Interact with a remote node in the p2pfl network.

Return type:

None

p2pfl.cli.run(ctx, example)[source]ΒΆ

Run an example.

Parameters:
  • example (str) – The name of the example

  • ctx (Context) – The Typer context

Return type:

None