Skip to content

Rename accesstoken get to util accesstoken get #1368

Description

@waldekmastykarz

We should rename the accesstoken get to util accesstoken get for the command to be consistent with all other commands in the CLI.

Rationale:

At this moment, commands in the CLI are organized in such a way, that the first word depicts the name of the service on which the command operates, eg. aad, flow, outlook, etc. This naming convention is used for clarity but also implicitly for lazy loading commands. The accesstoken get command deviates from this naming as accesstoken is not a Microsoft 365 service.

Since it's a utility command, we should move it to util namespace which will allow us to introduce other helper command in the future in a meaningful and consistent way.

Renaming a command is a breaking change and we should do it in the next major version. For the time being, we can introduce an alias and communicate that the current name will be deprecated in the next version.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions