Skip to content

It should be easier to extend commands provided by spin #242

@ngoldbaum

Description

@ngoldbaum

NumPy defines a spin build command, which has fallen out of sync from the upstream meson.build command it uses. Reading the click docs, it seems like the pattern NumPy is using with ctx.forward is frowned upon.

I think it would be better if spin provided factories for click commands to make it easier for projects to extend upstream commands without having to effectively re-implement their API.

See e.g. https://stackoverflow.com/questions/55584012/python-click-dependent-options-on-another-option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions