Skip to content

[BUG] TEST: Likely misconfiguration — relative paths in command-line mode #39

Description

@ayeshurun

Bug Description

When I run fab get Notebook1.Notebook (relative path) in command-line mode, I get FabricCLIError: Invalid path. But the same works in interactive mode after cd /MyWorkspace.Workspace/.

fabric-cli version

1.0.2

Python version

Python 3.11.5

Operating System

Linux

CLI Mode

Command line mode

Authentication Method

Interactive browser login

Steps to Reproduce

  1. fab auth login
  2. In interactive mode: cd /MyWorkspace.Workspace/ then get Notebook1.Notebook — works
  3. Exit interactive mode
  4. fab get Notebook1.Notebook — fails

Expected Behavior

Relative paths should work in command-line mode using the saved context.

Actual Behavior

$ fab get Notebook1.Notebook
Error: FabricCLIError: Invalid path (ERROR_INVALID_INPUT)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions