You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, ark-cli defines methods and commands to handle links in the ark managed storage folder. We should consider a cleaner and more generic approach to allow applications depending on ark-rust to define app-specific resource kinds and related commands, handling them uniformly.
A potential solution is a plugin system. This would enable any app developer to create not only wrappers for each platform but also CLI commands related to the resource kinds they introduce. For example, .link is a custom file format defined by us that contains a Link to Web resource. It consists only of a URL, but we also define some metadata and possible properties for it, such as domain and title.
Develop a plugin system to support app-specific resource kinds and commands.
Test this feature within the ark-cli link command.
Ensure the result is less code in ark-cli and a more straightforward approach.
This will enhance reusability by allowing easy reuse of app-specific resource kinds and commands, improve maintainability with cleaner and more manageable code, and increase extensibility by enabling developers to define their own resource kinds and commands.
Note: This proposal is open for discussion, and we do not have a full plan for it yet.
The text was updated successfully, but these errors were encountered:
Description
Currently,
ark-cli
defines methods and commands to handle links in the ark managed storage folder. We should consider a cleaner and more generic approach to allow applications depending onark-rust
to define app-specific resource kinds and related commands, handling them uniformly.A potential solution is a plugin system. This would enable any app developer to create not only wrappers for each platform but also CLI commands related to the resource kinds they introduce. For example,
.link
is a custom file format defined by us that contains aLink to Web
resource. It consists only of a URL, but we also define some metadata and possible properties for it, such as domain and title.Related discussion: #67 (comment)
Proposed Tasks
ark-cli link
command.ark-cli
and a more straightforward approach.This will enhance reusability by allowing easy reuse of app-specific resource kinds and commands, improve maintainability with cleaner and more manageable code, and increase extensibility by enabling developers to define their own resource kinds and commands.
Note: This proposal is open for discussion, and we do not have a full plan for it yet.
The text was updated successfully, but these errors were encountered: