Skip to content

Commit

Permalink
--
Browse files Browse the repository at this point in the history
  • Loading branch information
lyrixx committed Mar 15, 2024
1 parent 4c86d1a commit a46a20a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions castor.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
<?php

use Castor\Attribute\AsContext;
use Castor\Attribute\AsTask;
use Castor\Context;

use function Castor\run;

#[AsContext(default: true)]
function context(): Context
{
return new Context(
pty: false,
tty: false,
);
}

#[AsTask()]
function ansi()
{
Expand Down

0 comments on commit a46a20a

Please sign in to comment.