Closed denistrator closed 3 years ago
Hi, Why would you need them in config while you have the flexibility to change them through the arguments ?
Hi. Thank you for a quick reply
I have multiple projects that use rtlcss tool, and I'd like to be able to simply run rtlcss
command (in cli or as part of deployment step) and get flipped project css
At the current moment I have to use a really long command to run the tool. Let me share a real life example of the command that I use for one of my projects (Magento 2)
rtlcss pub/static/frontend/Vendor/theme1/he_IL/css/styles-m.css pub/static/frontend/Vendor/theme1/he_IL/css/styles-m.css &&
rtlcss pub/static/frontend/Vendor/theme1/he_IL/css/styles-l.css pub/static/frontend/Vendor/theme1/he_IL/css/styles-l.css &&
rtlcss pub/static/frontend/Vendor/theme2/he_IL/css/styles-m.css pub/static/frontend/Vendor/theme2/he_IL/css/styles-m.css &&
rtlcss pub/static/frontend/Vendor/theme2/he_IL/css/styles-l.css pub/static/frontend/Vendor/theme2/he_IL/css/styles-l.css &&
rtlcss pub/static/frontend/Vendor/theme1/he_IL/css/styles-m.min.css pub/static/frontend/Vendor/theme1/he_IL/css/styles-m.min.css &&
rtlcss pub/static/frontend/Vendor/theme1/he_IL/css/styles-l.min.css pub/static/frontend/Vendor/theme1/he_IL/css/styles-l.min.css &&
rtlcss pub/static/frontend/Vendor/theme2/he_IL/css/styles-m.min.css pub/static/frontend/Vendor/theme2/he_IL/css/styles-m.min.css &&
rtlcss pub/static/frontend/Vendor/theme2/he_IL/css/styles-l.min.css pub/static/frontend/Vendor/theme2/he_IL/css/styles-l.min.css
the paths for i/o are different for each project, so I'd really like to be able to set up project input/output paths in config
I don't think this is something for rtlcss to handle, I believe using a command line alias is a better option.
Hi. Is there a way to define source and destination in configuration file?
Thank you for a great tool 😀