{
  "id": "try-rs",
  "name": "try-rs",
  "homepage": "https://try-rs.org/",
  "description": "A temporary workspace manager for fast experimentation in the terminal.",
  "executables": [
    "try-rs"
  ],
  "dotfiles": {
    "paths": [
      "[configHome]/try-rs/config.toml",
      "[appData]/try-rs/config.toml",
      "%APPDATA%/try-rs/config.toml"
    ],
    "exclude": [],
    "secret": [],
    "machine_lines": [
      {
        "file": [
          "[configHome]/try-rs/config.toml",
          "[appData]/try-rs/config.toml",
          "%APPDATA%/try-rs/config.toml"
        ],
        "match": {
          "key_path": [
            "tries_path"
          ]
        },
        "scope": "backup"
      }
    ]
  },
  "commands": {
    "format": 1,
    "label": "Create or clone experiment",
    "description": "Create a named experiment folder or clone a repository into one with try-rs. Shell setup, completions and panel visibility flags are left out.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "readme",
        "kind": "manual",
        "url": "https://github.com/tassiovirginio/try-rs/blob/main/README.md#cli-commands",
        "revision": "2026-10-27",
        "evidence": "| `try-rs <name>`                                | Create (or jump to) a named experiment                              |\n| `try-rs <https://github.com/user/repo>`        | Clones a repository into a dated folder                             |\n| `try-rs <https://github.com/user/repo> <name>` | Clones a repository into a specific folder name (destination)       |\n| `try-rs -f <url>` / `try-rs --full-clone`     | Full clone (omit --depth 1) when cloning repositories               |\n| `try-rs -w <name>` / `try-rs --worktree`       | Create a git worktree from current repository (must be inside repo) |\n| `try-rs --inline-picker [--inline-height <n>]` | Open the picker inline (non-fullscreen) in the current terminal     |\n"
      }
    ],
    "field": [
      {
        "id": "target",
        "label": "Name or repository URL",
        "description": "A name creates or jumps to an experiment; a URL clones it. Empty opens the picker.",
        "type": "string",
        "position": 0,
        "sources": [
          "readme"
        ]
      },
      {
        "id": "destination",
        "label": "Folder name for a clone",
        "type": "string",
        "position": 1,
        "sources": [
          "readme"
        ]
      },
      {
        "id": "full_clone",
        "label": "Full clone",
        "description": "Omit --depth 1 when cloning.",
        "type": "boolean",
        "option": [
          "--full-clone",
          "-f"
        ],
        "sources": [
          "readme"
        ]
      },
      {
        "id": "worktree",
        "label": "Create git worktree",
        "description": "Must be run inside a git repository.",
        "type": "boolean",
        "option": [
          "--worktree",
          "-w"
        ],
        "sources": [
          "readme"
        ]
      },
      {
        "id": "inline_picker",
        "label": "Inline picker",
        "type": "boolean",
        "option": [
          "--inline-picker"
        ],
        "sources": [
          "readme"
        ]
      },
      {
        "id": "inline_height",
        "label": "Inline picker height",
        "type": "integer",
        "option": [
          "--inline-height"
        ],
        "sources": [
          "readme"
        ]
      }
    ],
    "task": [
      {
        "id": "new",
        "label": "New experiment",
        "fields": [
          "target",
          "worktree"
        ],
        "required": [
          "target"
        ]
      },
      {
        "id": "clone",
        "label": "Clone repository",
        "fields": [
          "target",
          "destination",
          "full_clone"
        ],
        "required": [
          "target"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "target",
          "destination",
          "full_clone",
          "worktree"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "inline_picker",
          "inline_height"
        ]
      }
    ]
  }
}
