Skip to main content

All Commands

CommandDescription
leap-bundle loginAuthenticate with LEAP using API token
leap-bundle whoamiShow current authenticated user
leap-bundle logoutLogout from LEAP
leap-bundle configShow current configuration
leap-bundle validateValidate directory for bundle creation
leap-bundle createSubmit new bundle request
leap-bundle resumeResume an interrupted bundle request creation
leap-bundle listList all bundle requests or a specific request
leap-bundle cancelCancel a bundle request
leap-bundle downloadDownload bundle request output OR download GGUF models from a manifest URL

Global Options

All commands support these global options:
  • --version, -v: Show version information and exit
  • --help: Show help information for any command

Current Limitations

  • The bundle tool only works on these model types for now: LFM2, LFM2-VL, Qwen.
    • We are working on expanding support to more models.

Error Handling

Authentication Errors

# Example authentication error
✗ You must be logged in. Run 'leap-bundle login' first.

# Example invalid token error
✗ Invalid API token. Please check your token and try again.

Network Errors

# Example connection error
✗ Failed to connect to server: Connection timeout

# Example API error
✗ HTTP 429 error: Rate limit exceeded. Please try again later.

File System Errors

# Example directory not found
✗ Directory does not exist: /path/to/nonexistent/directory

# Example permission error
✗ Failed to save login credentials: Permission denied

API Response Errors

The CLI tool extracts and displays error messages from API responses:
# Example API error response
✗ Bundle processing failed: Insufficient disk space on server

Exit Codes

The CLI tool uses standard exit codes:
  • 0: Success
  • 1: General error (authentication, network, file system, etc.)