Forum Discussion
Question using Fabric-CLI. How to Switch to interactive mode?
- 1 year ago
Hi alfBI,
Thanks for the response, the version you are currently using is 1.0.0 which still does not yet include the interactive shell feature.
The interactive shell (fab:/ >) was officially introduced in version 1.0.6 and above.
Clear pip cache and upgrade to Fabric CLI version 1.0.6 or newer specifically from the new fabri cli package on PyPI that includes the interactive shell.
Uninstall the existing version and install the latest version explicitly:
pip install fabric-cli --upgrade --force-reinstall
Then after Verify the version and run the shell
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!
Thanks and regards,
Anjan Kumar Chippa
Hi, Yes, this would be the expected behaviour, but after seting the interactive mode and logging the shell does not open after typing "fab". See below screenshoot. Instead of shell, list of fab options are displayed
Hi alfBI,
Based on the screenshot, it looks like the Fabric CLI is showing the help menu instead of entering the interactive shell. This usually happens when the CLI version is outdated or missing the interactive shell feature.
- First check your current Fabric CLI version, if it is below 1.0.6 please upgrade it.
- If you are already using the latest version but still facing the issue, try reinstalling it and then try running the commands. This should open the interactive shell with the fab prompt.
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!
Thanks and regards,
Anjan Kumar Chippa
- alfBI1 year ago
Responsive Resident
Hi,
Version is 0.10
We reinstalled it
and issue remains.
Definitely something something does not work as expected
- v-achippa1 year ago
Community Support
Hi alfBI,
The version you are using is 0.1.10, which follows a different release track and does not support the interactive shell feature. This functionality was introduced in Fabric CLI version 1.0.6 and above, which comes from a different package.
- Uninstall the current package: pip uninstall ms-fabric-cli
- Install the correct CLI: pip install fabric-cli
Verify the version it should be now 1.0.6 or higher, now try running the interactive shell again, this should finally open the shell.
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!
Thanks and regards,
Anjan Kumar Chippa
- v-achippa1 year ago
Community Support
Hi @alfBI,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution I have provided resolved your issue.
If my response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.Thanks and regards,
Anjan Kumar Chippa