2021.4 #19

Merged
edraft merged 237 commits from 2021.4 into master 2021-04-01 10:13:33 +02:00
2 changed files with 9 additions and 11 deletions
Showing only changes of commit 31515d2c3a - Show all commits

View File

@ -1,8 +1,6 @@
/docs/
/src/ /src/
/src/assets
/src/tests /src/tests
/.gitignore /src/tests/__init__.py
/cpl.json /cpl.json
/LICENSE /LICENSE
/README.md /README.md

View File

@ -10,14 +10,14 @@ class Help(CommandABC):
def run(self, args: list[str]): def run(self, args: list[str]):
Console.write_line('Available Commands:') Console.write_line('Available Commands:')
commands = [ commands = [
['build (-b|-B)', 'Prepares files for publish into an output directory named dist/ at the given output path. Must be executed from within a workspace directory.'], ['build (b|B)', 'Prepares files for publish into an output directory named dist/ at the given output path. Must be executed from within a workspace directory.'],
['generate (-g|-G)', 'Generate a new file.'], ['generate (g|G)', 'Generate a new file.'],
['help (-h|-H)', 'Lists available command and their short descriptions.'], ['help (h|H)', 'Lists available command and their short descriptions.'],
['new (-n|-N)', 'Creates new CPL project.'], ['new (n|N)', 'Creates new CPL project.'],
['start (-s|-S)', 'Starts CPL project, restarting on file changes'], ['start (s|S)', 'Starts CPL project, restarting on file changes'],
['publish (-p|-P)', 'Prepares files for publish into an output directory named dist/ at the given output path and executes setup.py. Must be executed from within a workspace directory.'], ['publish (p|P)', 'Prepares files for publish into an output directory named dist/ at the given output path and executes setup.py. Must be executed from within a workspace directory.'],
['update (-u|-u)', 'Update CPL and project dependencies.'], ['update (u|u)', 'Update CPL and project dependencies.'],
['version (-v|-V)', 'Outputs CPL CLI version.'] ['version (v|V)', 'Outputs CPL CLI version.']
] ]
for name, description in commands: for name, description in commands:
Console.set_foreground_color('blue') Console.set_foreground_color('blue')