aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md29
1 files changed, 29 insertions, 0 deletions
diff --git a/README.md b/README.md
index 19e2e5f..e1b3692 100644
--- a/README.md
+++ b/README.md
@@ -99,6 +99,35 @@ All of the models have all given properties **and a "Guid Id" property**. Only t
Controller and Service have **very basic** CRUD of the model. No view links are added, so you'll need to provide them (and to test out if everything work: just edit the link in the browser).
+### delete-feature-template
+
+As the name suggests, it just removes any feature, generated with [add-feature-template](#add-feature-template). Or more precisely, it removes all created files and removes references in edited files.
+
+**Example**: Let's say we have a project named `CarShop` and we generated a feature called `Car` that we don't want anymore
+- The first argument is the name of the project, and the second is that of the feature
+```bash
+./delete-feature-template.sh CarShop Car
+```
+
+### rename-namespaces
+
+`rename-project` and `add-feature-template` use and require all namespaces to start with `ProjectName.` (so, for example, `CarShop.Data.Models`). If you want that first word to be changed to something else or entirely removed, you can use this script.
+
+**Example**: rename all namespaces from `ExamTemplate....` to `MyShop....`
+```bash
+./rename-namespaces.sh MyShop
+```
+
+**Example**: rename all namespaces from `MyShop....` to `CarShop....`
+```bash
+./rename-namespaces.sh MyShop CarShop
+```
+
+**Example**: remove the start portion of all namespaces in the `CarShop` project (so form `CarShop.Data.Models` we have `Data.Models`)
+```bash
+./rename-namespaces.sh -r CarShop
+```
+
## Notes
There are some configs that I've made that you may want to change. This section explains them.