Reads a TASKS.md file and creates or updates one issue per checkbox line (milestone lines and owner requests), found again by the line’s ID, or by a digest of its start for owner requests. Running it twice changes nothing. A ticked line waits in review until a verified task closes it. Lines that left the file are reported and left alone. Uses the public issue routes only.
Usage
overlane task import file [--dry-run]Arguments
| Argument | Required | Description |
|---|---|---|
file |
yes | The TASKS.md file to import |
Flags
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--dry-run |
boolean | no | Print the requests and file changes this command would make, then stop. Needs no credentials. |
Examples
overlane task import TASKS.md --dry-run
overlane task import TASKS.mdBehavior
- Effect:
write(changes local or hosted state). - Needs credentials: yes. Uses the network: yes.
- Supports
--dry-run: yes. Accepts--force: no. - Machine-readable description:
overlane schema task import.
Result
With --json (the default when stdout is not a terminal) the command prints this JSON Schema’s shape on stdout.
{
"anyOf": [
{
"type": "object",
"properties": {
"file": {
"type": "string"
},
"lines": {
"type": "number"
},
"created": {
"type": "number"
},
"updated": {
"type": "number"
},
"unchanged": {
"type": "number"
},
"orphaned": {
"type": "array",
"items": {
"type": "string"
}
},
"next": {
"type": "string"
}
},
"required": [
"file",
"lines",
"created",
"updated",
"unchanged",
"orphaned",
"next"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"dryRun": {
"type": "boolean",
"const": true
},
"service": {
"type": "string"
},
"requests": {
"type": "array",
"items": {
"type": "object",
"properties": {
"method": {
"type": "string"
},
"path": {
"type": "string"
},
"body": {},
"note": {
"type": "string"
}
},
"required": [
"method",
"path"
],
"additionalProperties": false
}
},
"commands": {
"type": "array",
"items": {
"type": "string"
}
},
"writes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"path": {
"type": "string"
},
"action": {
"type": "string",
"enum": [
"write",
"append",
"delete"
]
},
"description": {
"type": "string"
}
},
"required": [
"path",
"action",
"description"
],
"additionalProperties": false
}
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"dryRun",
"requests",
"commands",
"writes",
"notes"
],
"additionalProperties": false
}
]
}See exit codes for the status the process returns.