everydaydevops-luff 3.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- everydaydevops_luff-3.0.0/LICENSE +21 -0
- everydaydevops_luff-3.0.0/PKG-INFO +50 -0
- everydaydevops_luff-3.0.0/README.md +21 -0
- everydaydevops_luff-3.0.0/everydaydevops_luff.egg-info/PKG-INFO +50 -0
- everydaydevops_luff-3.0.0/everydaydevops_luff.egg-info/SOURCES.txt +63 -0
- everydaydevops_luff-3.0.0/everydaydevops_luff.egg-info/dependency_links.txt +1 -0
- everydaydevops_luff-3.0.0/everydaydevops_luff.egg-info/entry_points.txt +3 -0
- everydaydevops_luff-3.0.0/everydaydevops_luff.egg-info/requires.txt +16 -0
- everydaydevops_luff-3.0.0/everydaydevops_luff.egg-info/top_level.txt +1 -0
- everydaydevops_luff-3.0.0/flutter_setup/__init__.py +0 -0
- everydaydevops_luff-3.0.0/flutter_setup/appender.py +46 -0
- everydaydevops_luff-3.0.0/flutter_setup/bootstrap.py +1655 -0
- everydaydevops_luff-3.0.0/flutter_setup/cicd_generator.py +885 -0
- everydaydevops_luff-3.0.0/flutter_setup/cli.py +1193 -0
- everydaydevops_luff-3.0.0/flutter_setup/config.py +156 -0
- everydaydevops_luff-3.0.0/flutter_setup/config_manager.py +160 -0
- everydaydevops_luff-3.0.0/flutter_setup/core.py +204 -0
- everydaydevops_luff-3.0.0/flutter_setup/exceptions.py +37 -0
- everydaydevops_luff-3.0.0/flutter_setup/flutter_manager.py +579 -0
- everydaydevops_luff-3.0.0/flutter_setup/platform.py +15 -0
- everydaydevops_luff-3.0.0/flutter_setup/prerequisites.py +39 -0
- everydaydevops_luff-3.0.0/flutter_setup/prerequisites_linux.py +140 -0
- everydaydevops_luff-3.0.0/flutter_setup/prerequisites_macos.py +226 -0
- everydaydevops_luff-3.0.0/flutter_setup/project_cli.py +397 -0
- everydaydevops_luff-3.0.0/flutter_setup/project_creator.py +91 -0
- everydaydevops_luff-3.0.0/flutter_setup/standards.py +99 -0
- everydaydevops_luff-3.0.0/flutter_setup/standards_data/everyday-devops-flutter-1.0.0.json +97 -0
- everydaydevops_luff-3.0.0/flutter_setup/standards_data/manifest-v1.schema.json +209 -0
- everydaydevops_luff-3.0.0/flutter_setup/templates/everyday/AGENTS.md +5 -0
- everydaydevops_luff-3.0.0/flutter_setup/templates/everyday/app_log.dart +6 -0
- everydaydevops_luff-3.0.0/flutter_setup/templates/everyday/home_content.dart +9 -0
- everydaydevops_luff-3.0.0/flutter_setup/templates/everyday/home_repository.dart +8 -0
- everydaydevops_luff-3.0.0/flutter_setup/templates/everyday/home_screen.dart +60 -0
- everydaydevops_luff-3.0.0/flutter_setup/templates/everyday/offline_store.dart +5 -0
- everydaydevops_luff-3.0.0/flutter_setup/templates/everyday/sentry_startup.dart +16 -0
- everydaydevops_luff-3.0.0/flutter_setup/templates/everyday/theme.dart +12 -0
- everydaydevops_luff-3.0.0/flutter_setup/templates.py +73 -0
- everydaydevops_luff-3.0.0/flutter_setup/verification.py +160 -0
- everydaydevops_luff-3.0.0/pyproject.toml +111 -0
- everydaydevops_luff-3.0.0/setup.cfg +4 -0
- everydaydevops_luff-3.0.0/skills/flutter-audit/SKILL.md +30 -0
- everydaydevops_luff-3.0.0/skills/flutter-create/SKILL.md +27 -0
- everydaydevops_luff-3.0.0/skills/flutter-feature/SKILL.md +30 -0
- everydaydevops_luff-3.0.0/skills/flutter-migrate/SKILL.md +30 -0
- everydaydevops_luff-3.0.0/skills/flutter-verify/SKILL.md +12 -0
- everydaydevops_luff-3.0.0/tests/test_appender.py +422 -0
- everydaydevops_luff-3.0.0/tests/test_bootstrap.py +1669 -0
- everydaydevops_luff-3.0.0/tests/test_cicd_generator.py +615 -0
- everydaydevops_luff-3.0.0/tests/test_cli.py +824 -0
- everydaydevops_luff-3.0.0/tests/test_config.py +412 -0
- everydaydevops_luff-3.0.0/tests/test_config_manager.py +190 -0
- everydaydevops_luff-3.0.0/tests/test_core.py +165 -0
- everydaydevops_luff-3.0.0/tests/test_e2e_cicd_workflows.py +239 -0
- everydaydevops_luff-3.0.0/tests/test_e2e_create_append.py +661 -0
- everydaydevops_luff-3.0.0/tests/test_e2e_fixtures.py +557 -0
- everydaydevops_luff-3.0.0/tests/test_e2e_flags_and_tty.py +605 -0
- everydaydevops_luff-3.0.0/tests/test_exceptions.py +96 -0
- everydaydevops_luff-3.0.0/tests/test_flutter_manager.py +501 -0
- everydaydevops_luff-3.0.0/tests/test_managed_projects.py +314 -0
- everydaydevops_luff-3.0.0/tests/test_platform.py +23 -0
- everydaydevops_luff-3.0.0/tests/test_prerequisites.py +306 -0
- everydaydevops_luff-3.0.0/tests/test_project_cli.py +173 -0
- everydaydevops_luff-3.0.0/tests/test_project_creator.py +130 -0
- everydaydevops_luff-3.0.0/tests/test_standards.py +78 -0
- everydaydevops_luff-3.0.0/tests/test_verification.py +49 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Mark Callen
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: everydaydevops-luff
|
|
3
|
+
Version: 3.0.0
|
|
4
|
+
Summary: Engineering tooling for Flutter applications
|
|
5
|
+
Author-email: Mark C Allen <mark@markcallen.com>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Repository, https://github.com/everydaydevopsio/luff
|
|
8
|
+
Project-URL: Documentation, https://github.com/everydaydevopsio/luff#readme
|
|
9
|
+
Project-URL: Issues, https://github.com/everydaydevopsio/luff/issues
|
|
10
|
+
Requires-Python: >=3.12
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Requires-Dist: click>=8.3.2
|
|
14
|
+
Requires-Dist: jsonschema>=4.23
|
|
15
|
+
Requires-Dist: pyyaml>=6.0.3
|
|
16
|
+
Requires-Dist: rich>=15.0.0
|
|
17
|
+
Requires-Dist: requests>=2.33.1
|
|
18
|
+
Provides-Extra: dev
|
|
19
|
+
Requires-Dist: black>=26.3.1; extra == "dev"
|
|
20
|
+
Requires-Dist: mypy>=1.20.1; extra == "dev"
|
|
21
|
+
Requires-Dist: pre-commit>=4.0.0; extra == "dev"
|
|
22
|
+
Requires-Dist: ruff>=0.15.10; extra == "dev"
|
|
23
|
+
Requires-Dist: pytest>=9.0.3; extra == "dev"
|
|
24
|
+
Requires-Dist: pytest-cov>=7.1.0; extra == "dev"
|
|
25
|
+
Requires-Dist: pytest-mock>=3.15.1; extra == "dev"
|
|
26
|
+
Requires-Dist: types-jsonschema; extra == "dev"
|
|
27
|
+
Requires-Dist: types-pyyaml>=6.0.12.20250915; extra == "dev"
|
|
28
|
+
Dynamic: license-file
|
|
29
|
+
|
|
30
|
+
# Luff
|
|
31
|
+
|
|
32
|
+
**Build better Flutter applications.**
|
|
33
|
+
|
|
34
|
+
[](https://github.com/everydaydevopsio/luff/actions/workflows/quality.yaml) [](LICENSE)
|
|
35
|
+
|
|
36
|
+
Luff is an open-source Everyday DevOps tool for Flutter. Its aim is to give developers and AI agents the same standards for creating, inspecting, migrating, extending, and maintaining Flutter applications.
|
|
37
|
+
|
|
38
|
+
Use a versioned profile to create a Flutter app, preview the scaffold as JSON, or run verification. Luff uses an installed Flutter SDK. Inspection, standards audit, migration and MCP remain on the roadmap.
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
git clone https://github.com/everydaydevopsio/luff.git
|
|
42
|
+
cd luff
|
|
43
|
+
make dev
|
|
44
|
+
uv run --locked luff create field_notes --platforms ios --dry-run --format json
|
|
45
|
+
uv run --locked flutter-setup --help
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
The `flutter-setup` entry point retains legacy provisioning and command behavior. The distribution is named `everydaydevops-luff` and the import package remains `flutter_setup`. Existing users should install Luff in a separate environment or uninstall the old distribution first to avoid both packages owning the compatibility command.
|
|
49
|
+
|
|
50
|
+
See [installation](docs/installation.md), [agent workflows](docs/agents.md), the [reference application](docs/reference-app.md), [product requirements](PRD.md), [architecture](ARCHITECTURE.md), [roadmap](ROADMAP.md), and [contributor setup](CONTRIBUTING.md). The original [Flutter Setup repository](https://github.com/markcallen/flutter-setup) contains its historical releases and documentation.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Luff
|
|
2
|
+
|
|
3
|
+
**Build better Flutter applications.**
|
|
4
|
+
|
|
5
|
+
[](https://github.com/everydaydevopsio/luff/actions/workflows/quality.yaml) [](LICENSE)
|
|
6
|
+
|
|
7
|
+
Luff is an open-source Everyday DevOps tool for Flutter. Its aim is to give developers and AI agents the same standards for creating, inspecting, migrating, extending, and maintaining Flutter applications.
|
|
8
|
+
|
|
9
|
+
Use a versioned profile to create a Flutter app, preview the scaffold as JSON, or run verification. Luff uses an installed Flutter SDK. Inspection, standards audit, migration and MCP remain on the roadmap.
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
git clone https://github.com/everydaydevopsio/luff.git
|
|
13
|
+
cd luff
|
|
14
|
+
make dev
|
|
15
|
+
uv run --locked luff create field_notes --platforms ios --dry-run --format json
|
|
16
|
+
uv run --locked flutter-setup --help
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
The `flutter-setup` entry point retains legacy provisioning and command behavior. The distribution is named `everydaydevops-luff` and the import package remains `flutter_setup`. Existing users should install Luff in a separate environment or uninstall the old distribution first to avoid both packages owning the compatibility command.
|
|
20
|
+
|
|
21
|
+
See [installation](docs/installation.md), [agent workflows](docs/agents.md), the [reference application](docs/reference-app.md), [product requirements](PRD.md), [architecture](ARCHITECTURE.md), [roadmap](ROADMAP.md), and [contributor setup](CONTRIBUTING.md). The original [Flutter Setup repository](https://github.com/markcallen/flutter-setup) contains its historical releases and documentation.
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: everydaydevops-luff
|
|
3
|
+
Version: 3.0.0
|
|
4
|
+
Summary: Engineering tooling for Flutter applications
|
|
5
|
+
Author-email: Mark C Allen <mark@markcallen.com>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Repository, https://github.com/everydaydevopsio/luff
|
|
8
|
+
Project-URL: Documentation, https://github.com/everydaydevopsio/luff#readme
|
|
9
|
+
Project-URL: Issues, https://github.com/everydaydevopsio/luff/issues
|
|
10
|
+
Requires-Python: >=3.12
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Requires-Dist: click>=8.3.2
|
|
14
|
+
Requires-Dist: jsonschema>=4.23
|
|
15
|
+
Requires-Dist: pyyaml>=6.0.3
|
|
16
|
+
Requires-Dist: rich>=15.0.0
|
|
17
|
+
Requires-Dist: requests>=2.33.1
|
|
18
|
+
Provides-Extra: dev
|
|
19
|
+
Requires-Dist: black>=26.3.1; extra == "dev"
|
|
20
|
+
Requires-Dist: mypy>=1.20.1; extra == "dev"
|
|
21
|
+
Requires-Dist: pre-commit>=4.0.0; extra == "dev"
|
|
22
|
+
Requires-Dist: ruff>=0.15.10; extra == "dev"
|
|
23
|
+
Requires-Dist: pytest>=9.0.3; extra == "dev"
|
|
24
|
+
Requires-Dist: pytest-cov>=7.1.0; extra == "dev"
|
|
25
|
+
Requires-Dist: pytest-mock>=3.15.1; extra == "dev"
|
|
26
|
+
Requires-Dist: types-jsonschema; extra == "dev"
|
|
27
|
+
Requires-Dist: types-pyyaml>=6.0.12.20250915; extra == "dev"
|
|
28
|
+
Dynamic: license-file
|
|
29
|
+
|
|
30
|
+
# Luff
|
|
31
|
+
|
|
32
|
+
**Build better Flutter applications.**
|
|
33
|
+
|
|
34
|
+
[](https://github.com/everydaydevopsio/luff/actions/workflows/quality.yaml) [](LICENSE)
|
|
35
|
+
|
|
36
|
+
Luff is an open-source Everyday DevOps tool for Flutter. Its aim is to give developers and AI agents the same standards for creating, inspecting, migrating, extending, and maintaining Flutter applications.
|
|
37
|
+
|
|
38
|
+
Use a versioned profile to create a Flutter app, preview the scaffold as JSON, or run verification. Luff uses an installed Flutter SDK. Inspection, standards audit, migration and MCP remain on the roadmap.
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
git clone https://github.com/everydaydevopsio/luff.git
|
|
42
|
+
cd luff
|
|
43
|
+
make dev
|
|
44
|
+
uv run --locked luff create field_notes --platforms ios --dry-run --format json
|
|
45
|
+
uv run --locked flutter-setup --help
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
The `flutter-setup` entry point retains legacy provisioning and command behavior. The distribution is named `everydaydevops-luff` and the import package remains `flutter_setup`. Existing users should install Luff in a separate environment or uninstall the old distribution first to avoid both packages owning the compatibility command.
|
|
49
|
+
|
|
50
|
+
See [installation](docs/installation.md), [agent workflows](docs/agents.md), the [reference application](docs/reference-app.md), [product requirements](PRD.md), [architecture](ARCHITECTURE.md), [roadmap](ROADMAP.md), and [contributor setup](CONTRIBUTING.md). The original [Flutter Setup repository](https://github.com/markcallen/flutter-setup) contains its historical releases and documentation.
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
LICENSE
|
|
2
|
+
README.md
|
|
3
|
+
pyproject.toml
|
|
4
|
+
everydaydevops_luff.egg-info/PKG-INFO
|
|
5
|
+
everydaydevops_luff.egg-info/SOURCES.txt
|
|
6
|
+
everydaydevops_luff.egg-info/dependency_links.txt
|
|
7
|
+
everydaydevops_luff.egg-info/entry_points.txt
|
|
8
|
+
everydaydevops_luff.egg-info/requires.txt
|
|
9
|
+
everydaydevops_luff.egg-info/top_level.txt
|
|
10
|
+
flutter_setup/__init__.py
|
|
11
|
+
flutter_setup/appender.py
|
|
12
|
+
flutter_setup/bootstrap.py
|
|
13
|
+
flutter_setup/cicd_generator.py
|
|
14
|
+
flutter_setup/cli.py
|
|
15
|
+
flutter_setup/config.py
|
|
16
|
+
flutter_setup/config_manager.py
|
|
17
|
+
flutter_setup/core.py
|
|
18
|
+
flutter_setup/exceptions.py
|
|
19
|
+
flutter_setup/flutter_manager.py
|
|
20
|
+
flutter_setup/platform.py
|
|
21
|
+
flutter_setup/prerequisites.py
|
|
22
|
+
flutter_setup/prerequisites_linux.py
|
|
23
|
+
flutter_setup/prerequisites_macos.py
|
|
24
|
+
flutter_setup/project_cli.py
|
|
25
|
+
flutter_setup/project_creator.py
|
|
26
|
+
flutter_setup/standards.py
|
|
27
|
+
flutter_setup/templates.py
|
|
28
|
+
flutter_setup/verification.py
|
|
29
|
+
flutter_setup/standards_data/everyday-devops-flutter-1.0.0.json
|
|
30
|
+
flutter_setup/standards_data/manifest-v1.schema.json
|
|
31
|
+
flutter_setup/templates/everyday/AGENTS.md
|
|
32
|
+
flutter_setup/templates/everyday/app_log.dart
|
|
33
|
+
flutter_setup/templates/everyday/home_content.dart
|
|
34
|
+
flutter_setup/templates/everyday/home_repository.dart
|
|
35
|
+
flutter_setup/templates/everyday/home_screen.dart
|
|
36
|
+
flutter_setup/templates/everyday/offline_store.dart
|
|
37
|
+
flutter_setup/templates/everyday/sentry_startup.dart
|
|
38
|
+
flutter_setup/templates/everyday/theme.dart
|
|
39
|
+
skills/flutter-audit/SKILL.md
|
|
40
|
+
skills/flutter-create/SKILL.md
|
|
41
|
+
skills/flutter-feature/SKILL.md
|
|
42
|
+
skills/flutter-migrate/SKILL.md
|
|
43
|
+
skills/flutter-verify/SKILL.md
|
|
44
|
+
tests/test_appender.py
|
|
45
|
+
tests/test_bootstrap.py
|
|
46
|
+
tests/test_cicd_generator.py
|
|
47
|
+
tests/test_cli.py
|
|
48
|
+
tests/test_config.py
|
|
49
|
+
tests/test_config_manager.py
|
|
50
|
+
tests/test_core.py
|
|
51
|
+
tests/test_e2e_cicd_workflows.py
|
|
52
|
+
tests/test_e2e_create_append.py
|
|
53
|
+
tests/test_e2e_fixtures.py
|
|
54
|
+
tests/test_e2e_flags_and_tty.py
|
|
55
|
+
tests/test_exceptions.py
|
|
56
|
+
tests/test_flutter_manager.py
|
|
57
|
+
tests/test_managed_projects.py
|
|
58
|
+
tests/test_platform.py
|
|
59
|
+
tests/test_prerequisites.py
|
|
60
|
+
tests/test_project_cli.py
|
|
61
|
+
tests/test_project_creator.py
|
|
62
|
+
tests/test_standards.py
|
|
63
|
+
tests/test_verification.py
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
click>=8.3.2
|
|
2
|
+
jsonschema>=4.23
|
|
3
|
+
pyyaml>=6.0.3
|
|
4
|
+
rich>=15.0.0
|
|
5
|
+
requests>=2.33.1
|
|
6
|
+
|
|
7
|
+
[dev]
|
|
8
|
+
black>=26.3.1
|
|
9
|
+
mypy>=1.20.1
|
|
10
|
+
pre-commit>=4.0.0
|
|
11
|
+
ruff>=0.15.10
|
|
12
|
+
pytest>=9.0.3
|
|
13
|
+
pytest-cov>=7.1.0
|
|
14
|
+
pytest-mock>=3.15.1
|
|
15
|
+
types-jsonschema
|
|
16
|
+
types-pyyaml>=6.0.12.20250915
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
flutter_setup
|
|
File without changes
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"""Detection utilities for the append command."""
|
|
2
|
+
|
|
3
|
+
from pathlib import Path
|
|
4
|
+
|
|
5
|
+
import yaml
|
|
6
|
+
|
|
7
|
+
PLATFORM_DIRS = {
|
|
8
|
+
"ios": "ios",
|
|
9
|
+
"android": "android",
|
|
10
|
+
"web": "web",
|
|
11
|
+
"macos": "macos",
|
|
12
|
+
"linux": "linux",
|
|
13
|
+
"windows": "windows",
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
def detect_flutter_project(path: Path) -> bool:
|
|
18
|
+
"""Return True if path contains a Flutter project (pubspec.yaml with flutter key)."""
|
|
19
|
+
pubspec = path / "pubspec.yaml"
|
|
20
|
+
if not pubspec.exists():
|
|
21
|
+
return False
|
|
22
|
+
try:
|
|
23
|
+
data = yaml.safe_load(pubspec.read_text())
|
|
24
|
+
return isinstance(data, dict) and "flutter" in data
|
|
25
|
+
except Exception:
|
|
26
|
+
return False
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
def detect_platforms(path: Path) -> list[str]:
|
|
30
|
+
"""Detect enabled platforms from existing platform directories."""
|
|
31
|
+
platforms = [p for p, d in PLATFORM_DIRS.items() if (path / d).is_dir()]
|
|
32
|
+
return platforms if platforms else ["ios", "android", "web"]
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def get_pubspec_name(path: Path) -> str | None:
|
|
36
|
+
"""Read name from pubspec.yaml, return None on failure."""
|
|
37
|
+
pubspec = path / "pubspec.yaml"
|
|
38
|
+
if not pubspec.exists():
|
|
39
|
+
return None
|
|
40
|
+
try:
|
|
41
|
+
data = yaml.safe_load(pubspec.read_text())
|
|
42
|
+
if isinstance(data, dict):
|
|
43
|
+
return data.get("name")
|
|
44
|
+
except Exception:
|
|
45
|
+
pass
|
|
46
|
+
return None
|