diff --git a/src/cpl_cli/command/add_service.py b/src/cpl_cli/command/add_service.py index c13daee2..30d2dd17 100644 --- a/src/cpl_cli/command/add_service.py +++ b/src/cpl_cli/command/add_service.py @@ -29,9 +29,9 @@ class AddService(CommandABC): def help_message(self) -> str: return textwrap.dedent("""\ Adds a project reference to given project. - usage: cpl add + Usage: cpl add - arguments: + Arguments: source-project: Name of the project to which the reference has to be target-project: Name of the project to be referenced """) diff --git a/src/cpl_cli/command/build_service.py b/src/cpl_cli/command/build_service.py index 31eab2b7..5fe1bc72 100644 --- a/src/cpl_cli/command/build_service.py +++ b/src/cpl_cli/command/build_service.py @@ -19,7 +19,7 @@ class BuildService(CommandABC): def help_message(self) -> str: return textwrap.dedent("""\ Copies an python app into an output directory named build/ at the given output path. Must be executed within a CPL workspace or project directory - usage: cpl build + Usage: cpl build """) def run(self, args: list[str]): diff --git a/src/cpl_cli/command/generate_service.py b/src/cpl_cli/command/generate_service.py index 40e913a0..0b7503be 100644 --- a/src/cpl_cli/command/generate_service.py +++ b/src/cpl_cli/command/generate_service.py @@ -60,13 +60,13 @@ class GenerateService(CommandABC): def help_message(self) -> str: return textwrap.dedent("""\ Generate a file based on schematic. - usage: cpl generate + Usage: cpl generate - arguments: + Arguments: schematic: The schematic to generate. name: The name of the generated file - schematics: + Schematics: abc class enum diff --git a/src/cpl_cli/command/help_service.py b/src/cpl_cli/command/help_service.py index 6eb77411..566b0260 100644 --- a/src/cpl_cli/command/help_service.py +++ b/src/cpl_cli/command/help_service.py @@ -23,7 +23,7 @@ class HelpService(CommandABC): def help_message(self) -> str: return textwrap.dedent("""\ Lists available command and their short descriptions. - usage: cpl help + Usage: cpl help Arguments: command The command to display the help message for diff --git a/src/cpl_cli/command/install_service.py b/src/cpl_cli/command/install_service.py index 32c558ab..7f733e2f 100644 --- a/src/cpl_cli/command/install_service.py +++ b/src/cpl_cli/command/install_service.py @@ -44,7 +44,7 @@ class InstallService(CommandABC): def help_message(self) -> str: return textwrap.dedent("""\ Installs given package via pip - usage: cpl install + Usage: cpl install Arguments: package The package to install diff --git a/src/cpl_cli/command/new_service.py b/src/cpl_cli/command/new_service.py index 792f4a62..8c19b346 100644 --- a/src/cpl_cli/command/new_service.py +++ b/src/cpl_cli/command/new_service.py @@ -51,7 +51,7 @@ class NewService(CommandABC): def help_message(self) -> str: return textwrap.dedent("""\ Generates a workspace and initial project or add a project to workspace. - usage: cpl new + Usage: cpl new Arguments: type The project type of the initial project diff --git a/src/cpl_cli/command/publish_service.py b/src/cpl_cli/command/publish_service.py index e4706df2..7a6403a4 100644 --- a/src/cpl_cli/command/publish_service.py +++ b/src/cpl_cli/command/publish_service.py @@ -19,7 +19,7 @@ class PublishService(CommandABC): def help_message(self) -> str: return textwrap.dedent("""\ Prepares files for publish into an output directory named dist/ at the given output path and executes setup.py. - usage: cpl publish + Usage: cpl publish """) def run(self, args: list[str]): diff --git a/src/cpl_cli/command/remove_service.py b/src/cpl_cli/command/remove_service.py index 8d5c9f31..d826d907 100644 --- a/src/cpl_cli/command/remove_service.py +++ b/src/cpl_cli/command/remove_service.py @@ -30,7 +30,7 @@ class RemoveService(CommandABC): def help_message(self) -> str: return textwrap.dedent("""\ Removes a project from workspace. - usage: cpl add + Usage: cpl remove Arguments: project The name of the project to delete diff --git a/src/cpl_cli/command/start_service.py b/src/cpl_cli/command/start_service.py index 2572b2bb..48b853b4 100644 --- a/src/cpl_cli/command/start_service.py +++ b/src/cpl_cli/command/start_service.py @@ -19,7 +19,7 @@ class StartService(CommandABC): def help_message(self) -> str: return textwrap.dedent("""\ Starts your application, restarting on file changes. - usage: cpl start + Usage: cpl start """) def run(self, args: list[str]): diff --git a/src/cpl_cli/command/uninstall_service.py b/src/cpl_cli/command/uninstall_service.py index 82a12444..4c9944c6 100644 --- a/src/cpl_cli/command/uninstall_service.py +++ b/src/cpl_cli/command/uninstall_service.py @@ -36,7 +36,7 @@ class UninstallService(CommandABC): def help_message(self) -> str: return textwrap.dedent("""\ Uninstalls given package via pip - usage: cpl uninstall + Usage: cpl uninstall Arguments: package The package to uninstall diff --git a/src/cpl_cli/command/update_service.py b/src/cpl_cli/command/update_service.py index c5842ad1..5cfb52de 100644 --- a/src/cpl_cli/command/update_service.py +++ b/src/cpl_cli/command/update_service.py @@ -43,7 +43,7 @@ class UpdateService(CommandABC): def help_message(self) -> str: return textwrap.dedent("""\ Updates the CPL and project dependencies. - usage: cpl update + Usage: cpl update """) def _collect_project_dependencies(self) -> list[tuple]: diff --git a/src/cpl_cli/command/version_service.py b/src/cpl_cli/command/version_service.py index 776f3746..5afadbd2 100644 --- a/src/cpl_cli/command/version_service.py +++ b/src/cpl_cli/command/version_service.py @@ -23,7 +23,7 @@ class VersionService(CommandABC): def help_message(self) -> str: return textwrap.dedent("""\ Lists the version of CPL, CPL CLI and all installed packages from pip. - usage: cpl version + Usage: cpl version """) def run(self, args: list[str]):