SAP / open-ux-tools

Enable community collaboration to jointly promote and facilitate best in class tooling capabilities
Apache License 2.0
83 stars 41 forks source link

FEATURE - CLI to enhance Fiori elements for OData v4 projects with the flexible programming model #73

Open tobiasqueck opened 3 years ago

tobiasqueck commented 3 years ago

As a developer, I want to be able to efficiently add flexible programming model extensions to my Fiori elements for OData v4 application, so that I can focus on the actually functionality instead of integration syntax.

Description

A developer using the flexible programming model is likely to be a technical person that is familiar with (or even fond of) the CLI to generate project artifacts. With this feature we want to empower those developers to efficiently add FPM extensions like custom pages or custom actions to their projects. In addition, the more UI based tools (Fiori tools page modeler and guide development) can also make use of the templates and prompts used by the CLI, so that FPM extensions generated with the CLI or other tools are consistent.

Technical Design

Acceptance Criteria

Given I am in the root folder of an existing Fiori elements v4 project when I execute npm init @sap-ux/fiori-fpm then I will be able to use a simple CLI based generator adding FPM boilerplate code to my project.

Given I am NOT in the root folder of an existing Fiori elements v4 project when I execute npm init @sap-ux/fiori-fpm then I will be told what I did wrong.

Given I am the developer of tools for Fiori elements when I want to reuse either the templates or the prompts then I will be able to do that without any other unnecessary modules.

Notes

Tasks

stefanschreck commented 3 years ago

Hello Tobias! Pls. be aware of the following:

tobiasqueck commented 3 years ago

Current state:

No code duplications and first set of FPM features is transparently implemented in the open-ux-tools repository.