Skip to content

Commit 4a8528f

Browse files
schneider-felixtinect
authored andcommitted
feat!: remove environment component
1 parent c39c7bd commit 4a8528f

File tree

6 files changed

+0
-311
lines changed

6 files changed

+0
-311
lines changed

README.md

Lines changed: 0 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -47,46 +47,6 @@ The current feature set consists of:
4747

4848
## Commands
4949

50-
### `frosh:env:list` - Listing of all environment variables
51-
```bash
52-
bin/console frosh:env:list
53-
```
54-
Lists as json output:
55-
```bash
56-
bin/console frosh:env:list --json
57-
```
58-
59-
### `frosh:env:get` - Get environment variables
60-
61-
```bash
62-
bin/console frosh:env:get APP_URL
63-
http://localhost
64-
```
65-
66-
```bash
67-
bin/console frosh:env:get APP_URL --key-value
68-
APP_URL=http://localhost
69-
```
70-
71-
```bash
72-
bin/console frosh:env:get APP_URL --json
73-
{
74-
"APP_URL": "http:\/\/localhost"
75-
}
76-
```
77-
78-
### `frosh:env:set` - Set environment variables
79-
80-
```bash
81-
bin/console frosh:env:set VARIABLE VALUE
82-
```
83-
84-
### `frosh:env:del` - Delete environment variables
85-
86-
```bash
87-
bin/console frosh:env:del VARIABLE
88-
```
89-
9050
### `frosh:dev:robots-txt` - For testshops - add/change robots.txt to stop crawlers
9151

9252
```bash
@@ -99,22 +59,11 @@ bin/console frosh:dev:robots-txt
9959
bin/console frosh:dev:robots-txt -r
10060
```
10161

102-
### `frosh:plugin:update` - update plugins with available updates at once
103-
104-
```bash
105-
bin/console frosh:plugin:update
106-
```
107-
10862
### `frosh:composer-plugin:update` - update plugins managed by composer
10963
```bash
11064
bin/console frosh:composer-plugin:update
11165
```
11266

113-
### `frosh:user:change:password` - updates user password
114-
```bash
115-
bin/console frosh:user:change:password <username> [<password>]
116-
```
117-
11867
### `frosh:monitor` - Monitor your scheduled tasks and queue with this command and get notified via email.
11968
```bash
12069
bin/console frosh:monitor <sales-channel-id>
@@ -131,44 +80,6 @@ frosh_tools:
13180
- vendor/shopware/core/SecondFile.php
13281
```
13382
134-
## Override system_config with config files
135-
136-
```yaml
137-
# config/packages/frosh_tools.yaml
138-
frosh_tools:
139-
system_config:
140-
default:
141-
core.listing.allowBuyInListing: true
142-
```
143-
144-
The key `default` is the sales channel scope, default is `null` which is the global scope. You can specify a specific salesChannelId to overwrite the value
145-
146-
```yaml
147-
# config/packages/frosh_tools.yaml
148-
frosh_tools:
149-
system_config:
150-
default:
151-
core.listing.allowBuyInListing: true
152-
# Disable it for the specific sales channel
153-
0188da12724970b9b4a708298259b171:
154-
core.listing.allowBuyInListing: false
155-
```
156-
157-
As it is a normal Symfony config, you can of course use also environment variables
158-
159-
```yaml
160-
# config/packages/frosh_tools.yaml
161-
frosh_tools:
162-
system_config:
163-
default:
164-
core.listing.allowBuyInListing: '%env(bool:ALLOW_BUY_IN_LISTING)%'
165-
```
166-
167-
```
168-
# .env.local
169-
ALLOW_BUY_IN_LISTING=true
170-
```
171-
17283
## Screenshots
17384
17485
![System Status](https://i.imgur.com/tKVIvFh.png)

src/Components/Environment/EnvironmentCommentLine.php

Lines changed: 0 additions & 23 deletions
This file was deleted.

src/Components/Environment/EnvironmentFile.php

Lines changed: 0 additions & 98 deletions
This file was deleted.

src/Components/Environment/EnvironmentKeyValue.php

Lines changed: 0 additions & 45 deletions
This file was deleted.

src/Components/Environment/EnvironmentLine.php

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/Components/Environment/EnvironmentManager.php

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)