Skip to content

Commit

Permalink
feat: add hello world command
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardBaumrock committed Jul 1, 2023
1 parent c7b6f74 commit 092ed74
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions App/Commands/Hello.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

namespace RockShell;

class Hello extends Command
{

public function config()
{
$this->setDescription("Outputs HELLO WORLD");
}

public function handle()
{
$this->write("HELLO WORLD");
return self::SUCCESS;
}
}

0 comments on commit 092ed74

Please sign in to comment.