spine-tools / Spine-Toolbox

Spine Toolbox is an open source Python package to manage data, scenarios and workflows for modelling and simulation. You can have your local workflow, but work as a team through version control and SQL databases.
https://www.tools-for-energy-system-modelling.org/
GNU Lesser General Public License v3.0
71 stars 17 forks source link

Named command line arguments for Tool specifications #2956

Open soininen opened 3 weeks ago

soininen commented 3 weeks ago

If a Tool knows which command line arguments are required (see #2948), it could also give those arguments descriptive names so users know e.g. which resource to drag and drop there in Tool properties tab.

image

jkiviluo commented 2 weeks ago

These descriptive names would be part of the tool specification?

soininen commented 2 weeks ago

These descriptive names would be part of the tool specification?

Yes. There is no general way Toolbox could extract this information from the tool itself so the maintainer of the specification would be responsible for adding these hints. They would also be completely optional.