opral / inlang-message-sdk

0 stars 0 forks source link

`project.path` API #96

Open samuelstroschein opened 5 days ago

samuelstroschein commented 5 days ago

Context

Apps need programmatic information where a project is located in the filesystem.

Examples:

Proposal

Implement a project.path() API. Otherwise, apps must do workarounds.

Examples for workarounds:

Signature

console.log(project.path())
>> /foo/bar/path/to/project.inlang

Tasks

samuelstroschein commented 5 days ago

@felix.haeberle @niklas.buchfink raise an issue when you face missing APIs in the inlang sdk instead of doing workarounds. I would expected either one of you to raise "hey, i need a project.path()` api

jldec commented 2 days ago

related to MESDK-62