commands
Commands for somesy.
write_somesy_file ¶
write_somesy_file(
metadata: ProjectMetadata,
path: Path = Path("somesy.toml"),
*,
config: SomesyConfig | None = None,
overwrite: bool = False
) -> None
Write project metadata to a standalone somesy.toml file.
Source code in src/somesy/commands/init_config.py
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | |
set_project_value ¶
set_project_value(
input_file: Path, field: str, value: str
) -> None
Set one scalar project-metadata value in a somesy.toml file.
Source code in src/somesy/commands/set_value.py
21 22 23 24 25 26 27 28 29 30 31 32 33 | |