Closed stevensdavid closed 1 year ago
This is potentially better tracked in https://github.com/akamai/cli-property-manager/issues/60 by the way, feel free to close this if the problem is specific to PM.
Hello @stevensdavid
Thanks for opening the issue. Originally it was designed that way but we are considering aligning that behaviour with other cli-packages (so using the default
by default). Adding a fallback is something that we also will consider. We will be back if we have a decision.
This particular issue is property-manager specific so I'll transfer the issue to that repository.
Best regards, Wojciech
Hello @stevensdavid
As per now, we decided not to add the fallback to default or change the default option for cli-pm to default
. We don't want to add a package specific behaviour here. Need to use papi
section is mentioned in readme and the error message seems pretty clear. If You think that any of them needs clarifications, we would be happy to hear Your suggestions.
As per now, I'm closing the issue.
Best regards, Wojciech
Hi!
Commands such as
akamai pm lpr --groupId <GROUP> --contractId <CONTRACT>
expect.edgerc
-sections that are specific to the API and do not fall back to thedefault
section if it is missing.This is confusing to me as I'd expect the CLI to use the
default
section when other, more specific, sections are not found. Instead, I have to explicitly select thedefault
section using e.g.akamai -s default pm ...
Is this by design or is it something that could be changed?
I'm running