fastiot.cli.import_configure module¶
- fastiot.cli.import_configure.import_configure(project_context, file_name='')[source]¶
Imports the
configure.py
in the project root (if not specified otherwise) and sets project config accordingly.
- fastiot.cli.import_configure.configure_py_to_dict(file_name='')[source]¶
Reads the
configure.py
in the project root dir (if not specified otherwise) and returns its values as a dictionary. Use this method if you want to use config options not available in the default context (fastiot.cli.model.project.ProjectContext
) in your own commands.- Return type:
dict