Skip to content

Commit 92ae11f

Browse files
committed
Custom Commandline params support
1 parent e5c0114 commit 92ae11f

4 files changed

Lines changed: 60 additions & 4 deletions

File tree

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,6 @@ release:
6464
git commit -a -m "Release v$(nextversion)"
6565
git tag -a $(nextversion) -m "version $(nextversion)"
6666
docker push vitexsoftware/multi-flexibee-setup:$(nextversion)
67+
docker push vitexsoftware/multi-flexibee-setup:latest
68+
6769

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Multi Flexi BeeSetup
2-
====================
1+
Multi Flexi Bee Setup
2+
=====================
33

44
![MFB](src/images/project-logo.svg?raw=true)
55

@@ -15,6 +15,7 @@ Spouštěným skriptům jsou nastavoavány tyto proměnné prostředí:
1515
* **FLEXIBEE_PASSWORD**
1616
* **FLEXIBEE_COMPANY**
1717

18+
+ proměnné prostředí dle individuální konfigurace každého modulu pro každou firmu
1819

1920

2021
instalace
@@ -58,5 +59,4 @@ Jako plugin je možné použít jakýkoliv spustitelný skript nebo binárku. Ty
5859
* https://github.com/VitexSoftware/php-flexibee-matcher
5960
* https://github.com/VitexSoftware/php-flexibee-reminder
6061
* https://github.com/VitexSoftware/FlexiBee-Digest
61-
62-
62+
* https://github.com/Vitexus/ISDOC-via-IMAP-to-FlexiBee
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?php
2+
declare(strict_types=1);
3+
4+
use Phinx\Migration\AbstractMigration;
5+
6+
final class CommandlineParams extends AbstractMigration
7+
{
8+
/**
9+
* Change Method.
10+
*
11+
* Write your reversible migrations using this method.
12+
*
13+
* More information on writing migrations is available here:
14+
* https://book.cakephp.org/phinx/0/en/migrations.html#the-change-method
15+
*
16+
* Remember to call "create()" or "update()" and NOT "save()" when working
17+
* with the Table class.
18+
*/
19+
public function change(): void
20+
{
21+
$table = $this->table('apps');
22+
$table
23+
->addColumn('cmdparams', 'string', ['null' => true, 'limit' => 256])
24+
->save();
25+
26+
}
27+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
use Phinx\Migration\AbstractMigration;
6+
7+
final class DefaultOption extends AbstractMigration {
8+
9+
/**
10+
* Change Method.
11+
*
12+
* Write your reversible migrations using this method.
13+
*
14+
* More information on writing migrations is available here:
15+
* https://book.cakephp.org/phinx/0/en/migrations.html#the-change-method
16+
*
17+
* Remember to call "create()" or "update()" and NOT "save()" when working
18+
* with the Table class.
19+
*/
20+
public function change(): void {
21+
$table = $this->table('conffield');
22+
$table
23+
->addColumn('defval', 'string', ['null' => true, 'limit' => 256])
24+
->save();
25+
}
26+
27+
}

0 commit comments

Comments
 (0)