Skip to content

Commit

Permalink
Removed command renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
jzaplet committed Oct 3, 2018
1 parent 01b79c9 commit 5caff91
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/vendor/
composer.lock
1 change: 0 additions & 1 deletion bin/wpropel.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
*/

$command = $r->newInstance();
$command->setName('propel:' . $command->getName());
$command->setAliases([]);

$nativeDefinition = $command->getNativeDefinition();
Expand Down
10 changes: 5 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,17 +86,17 @@ Propel 2 ORM integration for Nette 2.4 **with Tracy debugger panel**.
```

### Use commands
Commands are same as official but with prefix **propel:** and without shortcuts.
Commands are same as official but without aliases.

```bash
# Compare DB with schema (eventually create migration)
./vendor/bin/wpropel propel:migration:diff
./vendor/bin/wpropel migration:diff

# Run migration
./vendor/bin/wpropel propel:migration:migrate
./vendor/bin/wpropel migration:migrate

# Create model classes
./vendor/bin/wpropel propel:model:build
./vendor/bin/wpropel model:build

# Show all allowed commands
./vendor/bin/wpropel
Expand Down Expand Up @@ -139,4 +139,4 @@ Please think about using Propel 2 before you start, because actually Propel 2 is

If you still want to use Propel2 in Nette, this extension is the right way.

**We're welcome pull request and issues.**
**We're welcome pull requests and issues.**

0 comments on commit 5caff91

Please sign in to comment.