Skip to content

Design Proposal: Move CLI to separate package. #1226

@WAKayser

Description

@WAKayser

Design Proposal: Move CLI to separate package.

Motivation

Currently dependencies for the CLI are always installed. Even when not intended to be used as a tool.

Proposed Change

Create a new package called style-spec-cli that handles the CLI aspect of the current package. And remove the bin folder from this currrent package. This means 3 dependencies can be removed.

API Modifications

No API changes probably except for CLI removal.

Migration Plan and Compatibility

Needs a major release of this package. maplibre gl could depend on the cli untill next major release. that way the commands will stay available.

Rejected Alternatives

create two new packages. core and cli. one containing most of the code the other the cli. the current package will be an umbrella package installing both. on next major update of maplibre-gl you can update to use core.

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