Skip to content

PoC : Apidash CLI implementation#1660

Open
badnikhil wants to merge 1 commit intofoss42:mainfrom
badnikhil:cli-poc
Open

PoC : Apidash CLI implementation#1660
badnikhil wants to merge 1 commit intofoss42:mainfrom
badnikhil:cli-poc

Conversation

@badnikhil
Copy link
Copy Markdown
Contributor

PR Description

Initial Proof of Concept for a standalone, Flutter-free CLI for API Dash. It enables fast, terminal-based access to saved requests without opening the GUI.

Key Features

  • Zero-Config: Auto-detects local API Dash workspaces across operating systems.
  • Shadow-DB: Implements a "Shadow Copy" mechanism to bypass Hive file locks, allowing the CLI to function even while the Desktop application is open.
  • Interactive TUI: Provides a terminal user interface for listing and selecting requests via the list command.
  • Direct Execution: Supports rapid request execution via run <id> with pretty-printed JSON responses.

Core Technical Details

  • Storage: Utilizes a custom StorageHelper for secure Hive box reading and automated temporary file cleanup.
  • UI: Powered by mason_logger for a professional and polished CLI experience.

Related Issues

  • Closes #

Checklist

  • I have gone through the contributing guide
  • I have updated my branch and synced it with project main branch before making this PR
  • I am using the latest Flutter stable branch (run flutter upgrade and verify)
  • I have run the tests (flutter test) and all tests are passing

Added/updated tests?

We encourage you to add relevant test cases.

  • Yes
  • No, and this is why: please replace this line with details on why tests have not been included

OS on which you have developed and tested the feature?

  • Windows
  • macOS
  • Linux

@badnikhil
Copy link
Copy Markdown
Contributor Author

badnikhil commented Apr 14, 2026

Screencast.from.2026-04-15.02-15-18.webm
  • No need to to configure (it figures out where is the workspace).
  • You dont need to open GUI to fix small mistakes
  • TUI with list command .

@badnikhil badnikhil marked this pull request as ready for review April 17, 2026 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants