Issue with "glab repo clone" command not cloning to specified directory

Dear Glab Support Team,

I hope this message finds you well. I am writing to report an issue I have encountered while using the "glab repo clone" command with the -p and -g parameters. It appears that the command is not correctly cloning the repositories to the specified directory when using the following format:

glab repo clone -p -g group ~/DIR

Instead of cloning the projects into the specified "~/DIR" directory, the command is cloning them into the directory where the terminal is located at the time of executing the command.

I have attempted to troubleshoot this issue by carefully reviewing the documentation and ensuring that I am using the command correctly. However, despite my efforts, the problem persists. The inability to clone repositories to the desired directory is causing inconvenience and confusion for me and potentially other users who rely on this functionality.

I kindly request your assistance in investigating and resolving this issue. Properly functioning directory cloning is crucial for organizing and managing projects effectively, and I believe addressing this problem will significantly improve the user experience of the Glab tool.

If you require any additional information, such as my system configuration or specific command outputs, please do not hesitate to ask. I am more than willing to provide any necessary details to help you diagnose and address the problem promptly.

Thank you for your attention to this matter. I appreciate your dedication to maintaining a high-quality product and look forward to a resolution that will restore the expected functionality of the "glab repo clone" command.

Best regards

Checklist

  • I'm using the latest version of the extension (Run glab --version)
    • Extension version: glab version 1.30.0-10-ga81a2ae5 (2023-05-31)
  • Operating system and version: Ubuntu 23.04
  • Gitlab.com or self-managed instance? gitlab.com
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information