Comments (3)
Good idea. I added this to the latest release. Now you can just use:
php cli.php --whitelabel your-file.json
It looks for the file in the assets folder. Maybe your idea of specifying the full path is better. I can add that option as well. Maybe if the second argument starts with --conifg=
it will use the full path, otherwise if a filename is given it will just look in assets.
from mautic-whitelabeler.
Thinking out loud...
Update .gitignore
to support local .json
config files without causing a dirty tree.
!**/assets/config.json
**/assets/*.json
Possibly also ignore:
-
sidebar_logo
-
favicon
-
login_logo
On my phone, checking code to see if filenames for above are consistent or based on uploaded files and my sample names are coincidentally matching...
from mautic-whitelabeler.
This is also updated in 2.0.2. Now you can do three things from the command line:
php cli.php --whitelabel
- Looks for config.json
php cli.php --whitelabel other_file.json
- Looks for other_file.json in assets folder.
php cli.php --whitelabel --config=/path/other_file.json
- Looks for JSON file anywhere else you want.
Assets and backups are ignored by git now as well.
from mautic-whitelabeler.
Related Issues (20)
- Whitelabeler for version 4.2.0 HOT 1
- Whitelabeler for mautic version 3.3.5 HOT 1
- Whitelabeler updater HOT 8
- folder permission problem HOT 1
- Strange Behaviour with Dynamic Content WYSIWYG after command line whitelabel HOT 1
- mautic-whitelabeler on Mautic Composer HOT 5
- Mautic 4.3.1 HOT 1
- Whitelabeler for Mautic version 4.3.1 HOT 4
- No effect on Mautic 4.3.1 HOT 3
- Mautic 4.3.1 error HOT 3
- Composer Issue not finding Mautic URL HOT 2
- Support for Mautic 4.4.3 HOT 1
- Unable to install on 4.4.4 HOT 14
- Saving Whitelable changes "hangs" HOT 8
- Stuck on loading screen after hit save HOT 6
- Favicon.ico not found HOT 1
- Forbidden You don't have permission to access this resource. HOT 6
- time line on new version HOT 2
- LeftPanel logo changing itself HOT 2
- Mautic 4.4.10 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mautic-whitelabeler.