fastiot.cli.commands.create module

Commands for generating new projects and services.

fastiot.cli.commands.create.create_toml(path, project_name, short_description='')[source]
fastiot.cli.commands.create.new_project(project_name=<typer.models.ArgumentInfo object>, force=<typer.models.OptionInfo object>, target_directory=<typer.models.OptionInfo object>, description=<typer.models.OptionInfo object>)[source]

Function to create a new project with its directory structure and all needed files for a quick start.

You may use the function new-service afterwards to create your first service stubs.

fastiot.cli.commands.create.new_service(service_name=<typer.models.ArgumentInfo object>, service_package=<typer.models.OptionInfo object>, force=<typer.models.OptionInfo object>)[source]

Create a new service with some method stubs for further programming.

fastiot.cli.commands.create.pyproject_toml(description=<typer.models.OptionInfo object>, force=<typer.models.OptionInfo object>)[source]

Creates a new pyproject.toml to build the library.