Improved commands

This commit is contained in:
Sven Heidemann 2021-03-10 14:29:35 +01:00
parent 4e24662d90
commit 0e6b0a657b
3 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,4 @@
from cpl.console import Console
from cpl_cli.command_abc import CommandABC
from cpl_cli.publish.publisher_abc import PublisherABC
@ -11,3 +12,4 @@ class Build(CommandABC):
def run(self, args: list[str]):
self._publisher.build()
Console.write('\n')

View File

@ -168,3 +168,5 @@ class New(CommandABC):
self._command = args[0]
if self._command == 'console':
self._console(args)
Console.write('\n')

View File

@ -1,3 +1,4 @@
from cpl.console import Console
from cpl_cli.command_abc import CommandABC
from cpl_cli.publish.publisher_abc import PublisherABC
@ -11,3 +12,4 @@ class Publish(CommandABC):
def run(self, args: list[str]):
self._publisher.publish()
Console.write('\n')