2021.4.1 #11
@ -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
|
||||||
|
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user