From 2c735ba2b1c39ee56479a3a5c675f6964eaa12bd Mon Sep 17 00:00:00 2001 From: Sven Ullmann Date: Tue, 7 Mar 2023 03:05:45 +0100 Subject: [PATCH] fix --list-plugins --- README.md | 31 +++++++++++++++++++++++++------ bin/project-manager | 5 ++--- 2 files changed, 27 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 274c99e..2d8f0f3 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,9 @@ It has a design that i was developing and using all the time. Hope you will enjoy. Free to use. -## Installation +## Installation and first use + +### Install Project Manager In order to get you startet create first a folder, eg: @@ -24,7 +26,7 @@ Now you can execute it the first time and check the configuration of your Projec project-manager -## Setup +### Setup In order to use the project manager you have to execute it once @@ -32,24 +34,41 @@ In order to use the project manager you have to execute it once ![](.images/install-project-manager.png) -## Create your first project +### Create your first project project-manager create-project domain.de www.domain.de domain ![](.images/create-project.png) -## Workspace directories +### Workspace directories ![](.images/workspace-created-directories.png) -## Configure your project +### Configure your project ![](.images/configure-your-project.png) -## Add a new Subdomain +### Add a new Subdomain ![](.images/adding-subdomain-project.png) ![](.images/directories-with-subdomain.png) +## Commando reference + +### The help command + + project-manager --help + project-manager --help command + project-manager --help plugin:command + +### Print lists + + project-manager --list-commands + project-manager --list-commands plugin + project-manager --list-plugins + +### The usage + project-manager command + project-manager plugin:command \ No newline at end of file diff --git a/bin/project-manager b/bin/project-manager index 40ba079..45ee5d1 100755 --- a/bin/project-manager +++ b/bin/project-manager @@ -68,17 +68,16 @@ then command="install-project-manager" plugin="" fi - if [ "$1" == "" ] && [ "command" == "" ] then use exit fi -if [ "$help" == true ] || [ "$list_commands" == true ] || [ "$list_plugins" == "true" ] +if [ "$help" == true ] || [ "$list_commands" == true ] || [ "$list_plugins" == true ] then - if [ "$command" == "" ] + if [ "$command" == "" ] && [ "$list_commands" == false ] && [ "$list_plugins" == false ] then use exit