{
  "description": "Start the lf file manager in a directory, optionally with extra startup commands, a config file, or shell-integration output. Remote control, profiling and server flags are left out.",
  "options": [
    {
      "names": [
        "-command"
      ],
      "description": "lf command run after the config is read; repeat for several.",
      "args": {
        "name": "command",
        "description": "lf command run after the config is read; repeat for several.",
        "isOptional": false,
        "isVariadic": true
      },
      "isRepeatable": true,
      "isDangerous": true
    },
    {
      "names": [
        "-config"
      ],
      "description": "Config file",
      "args": {
        "name": "config",
        "isOptional": false,
        "template": "filepaths"
      }
    },
    {
      "names": [
        "-print-selection"
      ],
      "description": "Print selection on exit"
    },
    {
      "names": [
        "-selection-path"
      ],
      "description": "Write selection to file",
      "args": {
        "name": "selection_path",
        "isOptional": false,
        "template": "filepaths"
      },
      "isDangerous": true
    },
    {
      "names": [
        "-print-last-dir"
      ],
      "description": "Print last directory on exit"
    },
    {
      "names": [
        "-last-dir-path"
      ],
      "description": "Write last directory to file",
      "args": {
        "name": "last_dir_path",
        "isOptional": false,
        "template": "filepaths"
      },
      "isDangerous": true
    },
    {
      "names": [
        "-single"
      ],
      "description": "Stand-alone (no server)"
    },
    {
      "names": [
        "-log"
      ],
      "description": "Log file",
      "args": {
        "name": "log",
        "isOptional": false,
        "template": "filepaths"
      }
    }
  ],
  "args": [
    {
      "name": "start_dir",
      "isOptional": true,
      "template": "filepaths"
    }
  ],
  "name": "lf"
}
