Skip to content

alfred --inspect show the complete configuration of project and subprojects in json #45

@FabienArcellier

Description

@FabienArcellier

alfred juggles with python environments and environment variables. To be able to ensure a minimum of support, it is important to have information on the environment in which alfred is executed.

alfred --inspect

The order of the keys must be preserved in the json. The indentation is 2 spaces.

[
    {
        "project_directory": "./",
        "manifest": "./.alfred.toml",
        "name": "name",
        "description": "my description",
        "subprojects": [
            "./products/*"
        ],
        "project": {
            "command": [
                "alfred/*.py"
            ],
            "python_path_project_root": false,
            "python_path_extends": [],
            "venv": null,
            "venv_dotvenv_ignore": true
        },
        "runtime": {
            "executable": "",
            "pythonpath": [],
            "path": []
        }
    },
    {
        "project_directory": "./product/product1",
        "manifest": "./product/product1/.alfred.toml",
        "name": "name",
        "description": "my description",
        "subprojects": [
            "./products/*"
        ],
        "project": {
            "command": [
                "alfred/*.py"
            ],
            "python_path_project_root": false,
            "python_path_extends": [],
            "venv": null,
            "venv_dotvenv_ignore": true
        },
        "runtime": {
            "executable": "",
            "pythonpath": [],
            "path": []
        }
    },
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions