From 044c2f4f5b1e21ade663e5ffd501768d3542904e Mon Sep 17 00:00:00 2001 From: vamsee Date: Tue, 20 Feb 2018 12:49:47 +0530 Subject: [PATCH] Add command list in readme.md --- readme.md | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/readme.md b/readme.md index 242ee8e..6469d79 100644 --- a/readme.md +++ b/readme.md @@ -34,3 +34,54 @@ $ oe ## What's oe-cloud-cli? oe-cloud-cli helps you to kickstart new projects, prescribing best practices and tools to help you stay productive. + +## Advanced CLI options + +oe-cloud-cli provides the option to create model, datasource, property, relation, acl and middleware. + +```sh +# cli to create datasource +$ oe create datasource + +# cli to create model +$ oe create model + +# cli to create property +$ oe create property + +# cli to create relation +$ oe create relation + +# cli to create acl +$ oe create acl + +# cli to create middleware +$ oe create middleware + +``` + +oe-cloud-cli also enables the user to perform few basic oe cloud functionalities from command line. + +* default-ui: Allows the user the generate default UIRoute,NavigationLink and UIComponent for the selected Model. +* ui-route: Allows the user to enter initial data for UIRoute model +* navigation-link: Allows the user to enter initial data for NavigationLink model +* workflow: Allow user the attach workflow to a model from the selected list +* business-rules: Allow user to attach the business-rules to the model. + +```sh +# cli to define default UI +$ oe define default-ui + +# cli to define UI route +$ oe define ui-route + +# cli to define navigation link +$ oe define navigation-link + +# cli to attach workflow to model +$ oe attach workflow + +# cli to attach business rule to model +$ oe attach business-rules + +``` \ No newline at end of file