Improved commands
This commit is contained in:
parent
4e24662d90
commit
0e6b0a657b
@ -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')
|
||||
|
@ -168,3 +168,5 @@ class New(CommandABC):
|
||||
self._command = args[0]
|
||||
if self._command == 'console':
|
||||
self._console(args)
|
||||
|
||||
Console.write('\n')
|
||||
|
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user