Skip to content

Commit

Permalink
Custom Commandline params support
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitexus committed Jul 13, 2020
1 parent e5c0114 commit 92ae11f
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 4 deletions.
2 changes: 2 additions & 0 deletions Makefile
Expand Up @@ -64,4 +64,6 @@ release:
git commit -a -m "Release v$(nextversion)"
git tag -a $(nextversion) -m "version $(nextversion)"
docker push vitexsoftware/multi-flexibee-setup:$(nextversion)
docker push vitexsoftware/multi-flexibee-setup:latest


8 changes: 4 additions & 4 deletions README.md
@@ -1,5 +1,5 @@
Multi Flexi BeeSetup
====================
Multi Flexi Bee Setup
=====================

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

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

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


instalace
Expand Down Expand Up @@ -58,5 +59,4 @@ Jako plugin je možné použít jakýkoliv spustitelný skript nebo binárku. Ty
* https://github.com/VitexSoftware/php-flexibee-matcher
* https://github.com/VitexSoftware/php-flexibee-reminder
* https://github.com/VitexSoftware/FlexiBee-Digest


* https://github.com/Vitexus/ISDOC-via-IMAP-to-FlexiBee
27 changes: 27 additions & 0 deletions db/migrations/20200710133202_commandline_params.php
@@ -0,0 +1,27 @@
<?php
declare(strict_types=1);

use Phinx\Migration\AbstractMigration;

final class CommandlineParams extends AbstractMigration
{
/**
* Change Method.
*
* Write your reversible migrations using this method.
*
* More information on writing migrations is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-change-method
*
* Remember to call "create()" or "update()" and NOT "save()" when working
* with the Table class.
*/
public function change(): void
{
$table = $this->table('apps');
$table
->addColumn('cmdparams', 'string', ['null' => true, 'limit' => 256])
->save();

}
}
27 changes: 27 additions & 0 deletions db/migrations/20200712203245_default_option.php
@@ -0,0 +1,27 @@
<?php

declare(strict_types=1);

use Phinx\Migration\AbstractMigration;

final class DefaultOption extends AbstractMigration {

/**
* Change Method.
*
* Write your reversible migrations using this method.
*
* More information on writing migrations is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-change-method
*
* Remember to call "create()" or "update()" and NOT "save()" when working
* with the Table class.
*/
public function change(): void {
$table = $this->table('conffield');
$table
->addColumn('defval', 'string', ['null' => true, 'limit' => 256])
->save();
}

}

0 comments on commit 92ae11f

Please sign in to comment.