Refactor for Power Platform environments #2552
Unanswered
appieschot
asked this question in
Ideas
Replies: 1 comment 2 replies
-
Centralizing implementation and avoiding duplication would help us cut the amount of code and simplify maintenance so I'm all for it. I'm not sure about the generic |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We currently have two implementations that list the Power Platform environments
m365 pa environment get
andm365 flow environment get
. This is mainly because of legacy reasons as a while back those environments where slightly independent of each other. To achieve better parity with the Power Platform we should refactor this to a single command.We should introduce a new group, the pp (Power Platform) group and could have the
m365 pp environment get
commands grouped under there. That would require just a single implementation. In addition to that we could still keep them365 pa environment
andm365 flow environment
commands as alias so that if you are less experienced with the Power Platform structure you still can use the commands to work with environment settings.By doing so we free ourselves up to also implement commands like
environment add
andenvironment backup
.@pnp/cli-for-microsoft-365-maintainers please chime in, if we agree I can draft up the specs.
Beta Was this translation helpful? Give feedback.
All reactions