[feat] Actions should return values and the wrapper should decide what to do

Offen
#640 3 Kommentare 1 Reaktion 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 4 Tagen

@abdulazeem-tk4vr arbeitet bereits daran.

Seit 14.7.2026.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

enhancement size/XL

The main use case for mapt was to be used as a cli tool (wrapped on a container) as so the management for the outputs was done writing the content to a set of files. That logic was also included as part of the action layer.

On https://github.com/mapt-oss/mapt-mcp/pull/1 mapt will be wrapped by an mcp server, the mcp server directly uses the action layer and may do not need to write the files.

  • This feat proposes to add return struct on eachaction with the current ouputs
  • Move the manage results functions (write to files) to the cli layer
Vorherrschende Sprache
Go
Sterne
25
Forks
41
Ø Merge
5 T. 3 Std.
Gemergte PRs (30 T.)
16

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus redhat-developer/mapt

Alle Issues in redhat-developer/mapt

Ähnliche Issues

Weitere Issues zu Go

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.