Skip to content

Adding (temporary) aliases (or interception) for old commands? #2088

@janpio

Description

@janpio

Users testing the v3 beta CLI seem to often forget the new syntax and use old commands:

https://forum.ionicframework.com/t/native-3-x-installing-geolocation-plugin-error/86334
https://stackoverflow.com/questions/43232826/ionic-platforms-update-returns-an-error
https://forum.ionicframework.com/t/error-unknown-plugin-ionic-cli-plugin/85483

ALL documentation out there now will use the old commands, probably forever. Using the old syntax shouldn't lead the users into a non-explained error the CLI certainly could anticipate.

Wouldn't it be useful to map the old commands to a helper that outputs an information about the new syntax but also aliases to the new one (or intercepts the request so at least there is no error)?

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