{
    "content": [
        {
            "type": "text",
            "text": "# netplan-get(8) (man)\n\n**Summary:** netplan-get - read merged netplan YAML configuration\n\n**Synopsis:** netplan [--debug] get -h | --help\nnetplan [--debug] get [--root-dir=ROOTDIR] [key]\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -h | --help | — | Print basic help. |\n| — | --debug | — | Print debugging output during the process. |\n| — | --root-dir | — | Read YAML files from this root instead of / |\n\n## See Also\n\n- netplan(5)\n- netplan-set(8)\n- netplan-dbus(8)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (4 lines)\n- **DESCRIPTION** (8 lines)\n- **OPTIONS** (1 lines) — 3 subsections\n  - -h, --help (2 lines)\n  - --debug (2 lines)\n  - --root-dir (2 lines)\n- **SEE ALSO** (2 lines)\n- **AUTHORS** (5 lines)\n\n## Full Content\n\n### NAME\n\nnetplan-get - read merged netplan YAML configuration\n\n### SYNOPSIS\n\nnetplan [--debug] get -h | --help\n\nnetplan [--debug] get [--root-dir=ROOTDIR] [key]\n\n### DESCRIPTION\n\nnetplan  get  [key]  reads  all  YAML  files from /{etc,lib,run}/netplan/*.yaml and returns a\nmerged view of the current configuration\n\nYou can specify all as a key (the default) to get the full YAML tree or extract a subtree  by\nspecifying a nested key like: [network.]ethernets.eth0.\n\nFor details of the configuration file format, see netplan(5).\n\n### OPTIONS\n\n#### -h, --help\n\nPrint basic help.\n\n#### --debug\n\nPrint debugging output during the process.\n\n#### --root-dir\n\nRead YAML files from this root instead of /\n\n### SEE ALSO\n\nnetplan(5), netplan-set(8), netplan-dbus(8)\n\n### AUTHORS\n\nLukas Märdian (lukas.maerdian@canonical.com).\n\n\n\nnetplan-get(8)\n\n"
        }
    ],
    "structuredContent": {
        "command": "netplan-get",
        "section": "8",
        "mode": "man",
        "summary": "netplan-get - read merged netplan YAML configuration",
        "synopsis": "netplan [--debug] get -h | --help\nnetplan [--debug] get [--root-dir=ROOTDIR] [key]",
        "flags": [
            {
                "flag": "-h",
                "long": "--help",
                "arg": null,
                "description": "Print basic help."
            },
            {
                "flag": "",
                "long": "--debug",
                "arg": null,
                "description": "Print debugging output during the process."
            },
            {
                "flag": "",
                "long": "--root-dir",
                "arg": null,
                "description": "Read YAML files from this root instead of /"
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "netplan",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/netplan/5/json"
            },
            {
                "name": "netplan-set",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/netplan-set/8/json"
            },
            {
                "name": "netplan-dbus",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/netplan-dbus/8/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-h, --help",
                        "lines": 2,
                        "flag": "-h",
                        "long": "--help"
                    },
                    {
                        "name": "--debug",
                        "lines": 2,
                        "long": "--debug"
                    },
                    {
                        "name": "--root-dir",
                        "lines": 2,
                        "long": "--root-dir"
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}