From 9b1b59543f48e58cf9e35363cfc952d5ed61bc12 Mon Sep 17 00:00:00 2001 From: Mikel Madariaga Date: Thu, 8 Aug 2024 11:33:39 +0200 Subject: [PATCH] added generator scripts into demo proyect --- demo/bin/generate-cy-subscreen-test | 5 +++++ demo/bin/generate-cy-test | 5 +++++ demo/bin/generate-entity | 4 ++++ 3 files changed, 14 insertions(+) create mode 100755 demo/bin/generate-cy-subscreen-test create mode 100755 demo/bin/generate-cy-test create mode 100755 demo/bin/generate-entity diff --git a/demo/bin/generate-cy-subscreen-test b/demo/bin/generate-cy-subscreen-test new file mode 100755 index 0000000..7f88326 --- /dev/null +++ b/demo/bin/generate-cy-subscreen-test @@ -0,0 +1,5 @@ +#!/bin/bash + +# Example bin/generate-cy-subscreen-test platform client +node_modules/hygen/dist/bin.js cy subscreen $2 --parent $1 --root demo +node_modules/hygen/dist/bin.js cy fixtures $2 --root demo \ No newline at end of file diff --git a/demo/bin/generate-cy-test b/demo/bin/generate-cy-test new file mode 100755 index 0000000..fa79e85 --- /dev/null +++ b/demo/bin/generate-cy-test @@ -0,0 +1,5 @@ +#!/bin/bash + +# Example bin/generate-cy-test administrator +node_modules/hygen/dist/bin.js cy new $1 --root demo +node_modules/hygen/dist/bin.js cy fixtures $1 --root demo \ No newline at end of file diff --git a/demo/bin/generate-entity b/demo/bin/generate-entity new file mode 100755 index 0000000..dfa8132 --- /dev/null +++ b/demo/bin/generate-entity @@ -0,0 +1,4 @@ +#!/bin/bash + +# Example bin/generate-entity Administrator +node_modules/hygen/dist/bin.js entity new $1 \ No newline at end of file