Description
When you configure CLI to prompt for missing options, run the spo site get command and provide / as the URL, the command files. The same command ran as spo site get -u / works just fine.
Steps to reproduce
# configure CLI to prompt for missing values
m365 cli config set -k prompt -v true
# get site without specifying URL
m365 spo site get
# specify / as the URL value in the prompt
Expected results
Information about the root site collection
Actual results
$ m365 spo site get
Provide values for the following parameters:
? url: /
Error: / is not a valid SharePoint Online site URL
Diagnostics
No response
CLI for Microsoft 365 version
Latest from main
nodejs version
v16.13.0
Operating system (environment)
macOS
Shell
zsh
cli doctor
No response
Additional Info
No response
Description
When you configure CLI to prompt for missing options, run the
spo site getcommand and provide/as the URL, the command files. The same command ran asspo site get -u /works just fine.Steps to reproduce
Expected results
Information about the root site collection
Actual results
Diagnostics
No response
CLI for Microsoft 365 version
Latest from main
nodejs version
v16.13.0
Operating system (environment)
macOS
Shell
zsh
cli doctor
No response
Additional Info
No response