libs/help_metadata/import-pwsldistro_phwriter_metadata.json

{
  "version": "0.1.3",
  "examples": [
    "Import-PwslDistro -Name 'Ubuntu-Copy' -InstallLocation 'D:\\WSL\\UbuntuCopy' -SourceTar 'C:\\Backups\\ubuntu.tar'"
  ],
  "indent": 1,
  "commandinfo": {
    "source": "https://gitlab.com/phellams/pwsl/-/blob/main/readme.md",
    "cmdlet": "Import-PwslDistro",
    "description": "Imports a .tar file as a new WSL distribution.",
    "synopsis": "Import-PwslDistro [-Name <String>] [-InstallLocation <String>] [-SourceTar <String>]"
  },
  "name": "pwsl",
  "padding": 1,
  "paramtable": [
    {
      "required": true,
      "name": "Name",
      "inline": false,
      "type": "string",
      "param": "Name",
      "description": "The name to assign to the new distribution."
    },
    {
      "required": true,
      "name": "InstallLocation",
      "inline": false,
      "type": "string",
      "param": "InstallLocation",
      "description": "The directory where the ext4.vhdx disk image will be created."
    },
    {
      "required": true,
      "name": "SourceTar",
      "inline": false,
      "type": "string",
      "param": "SourceTar",
      "description": "The path to the source .tar file."
    }
  ]
}