Skip to content

Commit

Permalink
Use PHP comments in Default command example in readme instead of Bash…
Browse files Browse the repository at this point in the history
… comments
  • Loading branch information
kodie committed Nov 26, 2024
1 parent 6e08fdb commit 7bca2a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,11 +274,11 @@ By default, running your CLI app without any arguments will show the help screen
```php
$app->add(new InitCommand, 'i', true);

# Alternatively
// Alternatively
$app->command('init', 'Init something', 'i');
$app->defaultCommand('init');

# Retrieve the name of the default command
// Retrieve the name of the default command
$default_command = $app->getDefaultCommand();
```

Expand Down

0 comments on commit 7bca2a3

Please sign in to comment.