Skip to content

Added a configuration file#103

Merged
francosansone merged 2 commits intosb-graph-devfrom
102-add-configuration-file-to-sbg-partitioner
Nov 5, 2025
Merged

Added a configuration file#103
francosansone merged 2 commits intosb-graph-devfrom
102-add-configuration-file-to-sbg-partitioner

Conversation

@francosansone
Copy link
Copy Markdown
Collaborator

@francosansone francosansone commented Sep 9, 2025

We can pass arguments by flag or file now. Since flags are chosen if both are present, the main will first read the flags looking for a configuration file (-c- or --config-file), then it will read flags again looking for the rest of arguments. Example of configuration file:

filename=air_conditioners.json
partitions=4
initial_partition_strategy=1

@francosansone francosansone merged commit 3c73e80 into sb-graph-dev Nov 5, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants