Skip to content

Commit 4d9ac1b

Browse files
committed
Add licence to composer.json
1 parent 2fd8cae commit 4d9ac1b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ Automatic BASH completion for Symfony Console Component based applications. Comp
44

55
## Use
66

7-
If you don't need any custom completion behaviour, just add an instance of `CompletionCommand` to your application's `Application::getDefaultCommands()` method. Once you've done this, you can run this to enable completion:
7+
If you don't need any custom completion behaviour, just add an instance of `CompletionCommand` to your application's `Application::getDefaultCommands()` method. Once you've done this, you can run this line of BASH to enable completion:
88

99
eval `[your-application] _completion -g [program-name]`
1010

11-
Where `[program-name]` is the name you want to register bash completion for. This will be the same as `[your-application]` if your application is on your PATH.
11+
Where `[program-name]` is the name you want to register bash completion for. This will be the same as `[your-application]` if your application is in your PATH.
1212

1313
This will generate and run a small bash script which creates a small wrapper function and registers completion for your appliction name. Completion is then handled by running your application as `[your-application] _completion`.
1414

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "stecman/symfony-console-completion",
33
"description": "Automatic BASH completion for the Symfony Console Component.",
4+
"license": "MIT",
45
"minimum-stability": "dev",
56
"authors": [
67
{

0 commit comments

Comments
 (0)