-
Notifications
You must be signed in to change notification settings - Fork 328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New command: spo page default get
#6493
Comments
Assign this to me please.
assuming this command will return detailed information about the home page and not just the relative URL. |
Yes, the response should look the same as |
Instead of creating a new command, I'm wondering if we should just enhance
What is your stance on this @pnp/cli-for-microsoft-365-maintainers? |
Have we considered the alternative of |
Fair point about the |
Would it be worth exploring the approach you suggested in #5856? If no |
What's the status here @milanholemans, @Jwaegebaert? @Saurabh7019 has already created a PR for this. Should we just continue as planned or rework the specs and ask Saurabh to rework as well? |
Yeah it's really annoying that we have to revisit the issue when the PR has already been made. What is your opinion @martinlingstuyl? Go for consistency (no options), or use |
Hmmm, I'd think intentionality is important. So I would vote for |
Hi @Saurabh7019, sorry for the super late turnaround, but we decided to take a slightly different route. Instead of creating a new command, we decided to enhance an existing command. Are you willing to implement these changes in the new spec? We totally understand if you want to withdraw from this issue. |
In order to get the home page of a specific site, it would be cool to enhance the command
spo page get
with following options:Options
--default
name
ordefault
, but not both.Example
Additional Info
To get to know which page is the current home page, execute this request:
Thereafter, you should retrieve the site page with a
GetFileByServerRelativePath
request.The text was updated successfully, but these errors were encountered: