jua-list
Windows desktop todo widget you share with Claude — tag a task @claude, press ▶, review the result. CLI + MCP + Claude Code plugin.
Safety scan
A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.
Badge for your README
Markdown
[](/listings/juan-hong--jua-list)HTML
<a href="/listings/juan-hong--jua-list"><img src="/api/listings/juan-hong--jua-list/badge.svg" alt="findsafeskills safety rating" /></a>Install
Install instructions from the README
As written by the repo's author. findsafeskills has not verified these steps.
As a Claude Code plugin (skill + MCP server)
/plugin marketplace add juan-hong/jua-list /plugin install jua-list@jua-list
Then install the `jua` command and the widget. Ask Claude "install jua-list", or run:
python "$env:USERPROFILE\.claude\plugins\marketplaces\jua-list\jua\jua.py" install --startup jua widget
From the repository
git clone https://github.com/juan-hong/jua-list cd jua-list powershell -ExecutionPolicy Bypass -File jua\install.ps1
`install.ps1` installs the `jua` command into `~\.local\bin`, registers the MCP server in Claude Code and the Claude desktop app, adds the widget to Startup, and starts it. To use only the skill, copy `skills\jua-list` into `~\.claude\skills\`.
On first run, a sample list is created at `%APPDATA%\jua-list\todo.md`.
What was scanned
The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.
.claude-plugin/marketplace.json · Manifest · 25 lines
- {
- "name": "jua-list",
- "owner": {
- "name": "juan-hong",
- "url": "https://github.com/juan-hong"
- },
- "metadata": {
- "description": "jua-list: a desktop todo widget shared by you and Claude"
- },
- "plugins": [
- {
- "name": "jua-list",
- "source": "./",
- "description": "Desktop todo widget for Windows that Claude can read, edit and work on.",
- "version": "0.3.0",
- "license": "MIT",
- "keywords": [
- "todo",
- "widget",
- "windows",
- "mcp"
- ]
- }
- ]
- }
README.md · README · 145 lines
- # jua-list
- **A Windows desktop todo widget you share with Claude.**
- Tasks live in plain Markdown checklists. The widget sits on the desktop layer, so it stays visible even after `Win+D`. Claude reads and edits the same lists through a CLI and an MCP server. Tag a task `@claude` and press ▶: Claude Code works on it in that list's work folder, leaves a one-line result, and marks it **review**. You check it off when you're happy.
- [한국어 안내](#한국어)
- 
- ```
- ## Website
- - [x] Fix login bug
- - [?] @claude Fix typos in README <!-- id:3fa2c1 -->
- - Result: fixed 4 typos in README.md
- - [ ] Decide release date
- ```
- ## Features
- - **Desktop widget**: pinned to the desktop layer, rounded dark UI, tabs for several lists, collapsible sections, progress bars. Korean and English UI (follows the Windows display language).
- - **Edit in place**: click to check off; hover for ✎ edit and ✕ delete; right-click for status, order and section; undo delete.
- - **Hand tasks to Claude**: `@claude` tag → ▶ → `claude -p` runs in the list's work folder → result line + **review** → you check it off.
- - **Claude manages the lists too**: the `jua` CLI and an MCP server (12 tools) add, edit, move and delete items, create lists, and change widget settings.
- - **Safe writes**: atomic saves, `.bak` backups, cross-process locking; non-UTF-8 files open read-only.
- - **Just files**: data stays in `.md`. Edit it in Notepad, Obsidian or VS Code at the same time; the widget updates within a second.
- Status marks: `[ ]` todo · `[~]` doing · `[?]` review · `[!]` blocked/question · `[x]` done
- ## Requirements
- - Windows 10 or 11
- - Python 3.10+ with tkinter (included in the python.org installer). No third-party packages.
- - [Claude Code](https://claude.com/claude-code) CLI (`claude`) to hand tasks to Claude
- ## Install
- ### As a Claude Code plugin (skill + MCP server)
- ```
- /plugin marketplace add juan-hong/jua-list
- /plugin install jua-list@jua-list
- ```
- Then install the `jua` command and the widget. Ask Claude "install jua-list", or run:
- ```powershell
- python "$env:USERPROFILE\.claude\plugins\marketplaces\jua-list\jua\jua.py" install --startup
- jua widget
- ```
- ### From the repository
- ```powershell
- git clone https://github.com/juan-hong/jua-list
- cd jua-list
- powershell -ExecutionPolicy Bypass -File jua\install.ps1
- ```
- `install.ps1` installs the `jua` command into `~\.local\bin`, registers the MCP server in Claude Code and the Claude desktop app, adds the widget to Startup, and starts it. To use only the skill, copy `skills\jua-list` into `~\.claude\skills\`.
- On first run, a sample list is created at `%APPDATA%\jua-list\todo.md`.
- ## Usage
- ### Widget
- | Action | How |
- |---|---|
- | Check off / approve review | Click the item |
- | Edit, delete, assign, run | Hover the item → ✎ ✕ @ ▶ |
- | Status, move up/down, move to section | Right-click the item |
- | Add | `+ Add` at the end of a section, or the input at the bottom (start with `@claude` to assign) |
- | Collapse section | Click the section title |
- | Move / resize window | `⋯` → Move / resize window (the window only moves in this mode) |
- | Hide done, text size, run logs, quit | `⋯` menu |
- ### CLI
- ```powershell
- jua lists # all lists
- jua list --claude # tasks assigned to Claude
- jua add "Write tests" -s Backend --claude # add and assign
- jua done 3 # mark #3 done
- jua move "Write tests" --to Frontend
- jua new D:\proj\todo.md --sections "Bugs,Features" --cwd D:\proj # new list with a work folder
- jua config alpha 220 # widget opacity
- jua config lang en # UI language: auto | ko | en
- jua --help
- ```
- `<ref>` is an item id, a number from `jua list`, or part of its text.
- ### Handing a task to Claude
- 1. Add `@claude` to the task. Give each list a work folder (`--cwd`).
- 2. Press ▶. `claude -p` runs in that folder. Logs go to `%APPDATA%\jua-list\runs\`.
- 3. When it finishes you see `[?]` review with a one-line result. Check it off once you have reviewed it. If Claude has a question, the task shows `[!]`.
- Defaults (change with `jua config claude.<key>`): 40 turns, 30 minutes, file edits auto-approved, and `git commit/push/reset/checkout`, `rm -rf` and WebFetch blocked.
- > ⚠ ▶ lets Claude Code edit files and run commands in the list's work folder. Use it only with lists and folders you trust, and review the result. Text that another program writes into a list file can become an instruction to Claude.
- ## Settings
- `%APPDATA%\jua-list\config.json` (`jua home` shows the folder; set `JUA_HOME` to move it)
- | Key | Meaning |
- |---|---|
- | `files` | Lists: a path string or `{"path", "name", "cwd"}` |
- | `x` `y` `w` `h` | Window position and size (physical pixels) |
- | `pin` | `desktop` (desktop layer) / `bottom` (normal window kept at the bottom) |
- | `lang` | `auto` / `ko` / `en` (environment variable `JUA_LANG` overrides) |
- | `alpha` `font_size` `hide_done` | Opacity 0–255, text size 8–16, hide done items |
- | `claude.max_turns` `claude.timeout_min` `claude.model` | Limits for ▶ runs |
- | `claude.allowed_tools` `claude.disallowed_tools` | Tool allow/deny lists for ▶ runs |
- ## Development
- ```powershell
- python -m unittest discover -s tests
- ```
- Layout: `jua/jua_core.py` (files, settings, runs) · `jua/jua.py` (CLI) · `jua/jua_mcp.py` (MCP server, no dependencies) · `jua/widget.py` (tkinter widget) · `jua/jua_i18n.py` (Korean/English) · `skills/jua-list` (Claude skill) · `.claude-plugin` (plugin and marketplace)
- ## License
- MIT
- ---
- ## 한국어
- **사람과 Claude가 같이 쓰는 Windows 바탕화면 todo 위젯**
- 할 일은 평범한 Markdown 체크리스트로 저장되고, 바탕화면에 붙은 위젯으로 보고 고칩니다. Claude는 CLI·MCP로 같은 목록을 읽고 고칩니다. 항목에 `@claude`를 붙이고 ▶를 누르면 Claude Code가 그 목록의 작업 폴더에서 일을 처리하고, 결과 한 줄을 남긴 뒤 **검토 대기**로 바꿉니다. 확인하고 체크하면 완료입니다.
- - 요구 사항: Windows 10/11, Python 3.10+(tkinter 포함, 외부 패키지 없음), ▶ 실행에는 Claude Code CLI
- - 플러그인 설치: `/plugin marketplace add juan-hong/jua-list` → `/plugin install jua-list@jua-list` → `python <플러그인>\jua\jua.py install --startup` → `jua widget`
- - 직접 설치: 저장소를 받고 `jua\install.ps1` 실행
- - 상태: `[ ]` 대기 · `[~]` 진행 중 · `[?]` 검토 대기 · `[!]` 막힘·질문 · `[x]` 완료
- - 화면 언어는 Windows 표시 언어를 따릅니다. `jua config lang ko`로 고정할 수 있습니다.
- - 설정·실행 기록: `%APPDATA%\jua-list` (`JUA_HOME`으로 변경)
- > ⚠ ▶ 실행은 Claude Code가 작업 폴더에서 파일을 고치고 명령을 실행하게 합니다. 믿을 수 있는 목록과 폴더에서만 쓰고, 결과는 직접 검토하세요.
jua/jua.py · Bundled script · 392 lines · 1 finding marked
- """jua-list CLI. Claude·사람이 목록을 다룸. 예: jua list, jua add "할 일" -s 섹션 --claude"""
- import argparse
- import json
- import os
- import sys
- sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
- import jua_core as core # noqa: E402
- from jua_core import JuaError # noqa: E402
- from jua_i18n import _ # noqa: E402
- # ---------- 동작 (MCP도 이걸 씀. 전부 문자열 반환) ----------
- def op_lists():
- cfg = core.load_cfg()
- out = []
- for k, e in enumerate(core.entries(cfg), 1):
- d = core.Doc(e["path"], e["name"], e["cwd"])
- d.load()
- its = d.items()
- cnt = {s: sum(t["status"] == s for t in its) for s in core.MARK}
- mine = sum(t["claude"] and t["status"] != "done" for t in its)
- out.append(_("{0}. {1} 남음 {2}/{3}, Claude 맡김 {4}, 검토 대기 {5}, 막힘 {6}").format(
- k, e["name"], len(its) - cnt["done"], len(its), mine, cnt["review"], cnt["blocked"])
- + "\n " + _("파일: {0}").format(e["path"])
- + "\n " + _("작업 폴더: {0}").format(e["cwd"])
- + ("\n " + _("오류: {0}").format(d.error) if d.error else ""))
- return "\n".join(out) or _("등록된 목록 없음")
- def op_list(file=None, status=None, claude=False, hide_done=False, all_files=False):
- cfg = core.load_cfg()
- if all_files:
- docs = []
- for e in core.entries(cfg):
- d = core.Doc(e["path"], e["name"], e["cwd"])
- d.load()
- docs.append(core.fmt_doc(d, status, claude, hide_done))
- return "\n\n".join(docs) or _("등록된 목록 없음")
- return core.fmt_doc(core.open_doc(cfg, file), status, claude, hide_done)
- def _doc_item(file, ref):
- d = core.open_doc(core.load_cfg(), file)
- return d, d.resolve(ref)
- def op_add(text, file=None, section=None, claude=False, create=False):
- d = core.open_doc(core.load_cfg(), file)
- t = d.add(text, section, claude, create)
- return _("추가함: ") + core.fmt_item(t)
- def op_status(ref, status, file=None):
- if status not in core.MARK:
- raise JuaError(_("상태는 {0} 중 하나").format(', '.join(core.MARK)))
- d, t = _doc_item(file, ref)
- return _("{0}(으)로 바꿈: ").format(core.STATUS_KO[status]) + core.fmt_item(d.set_status(t, status))
- def op_edit(ref, text, file=None):
- d, t = _doc_item(file, ref)
- return _("고침: ") + core.fmt_item(d.edit(t, text))
- def op_rm(ref, file=None):
- d, t = _doc_item(file, ref)
- d.delete(t)
- return _("지움: #{0} {1}").format(t['n'], t['text'])
- def op_move(ref, file=None, to=None, delta=0):
- d, t = _doc_item(file, ref)
- return _("옮김: ") + core.fmt_item(d.move(t, to, delta))
- def op_claude(ref, on=True, file=None):
- d, t = _doc_item(file, ref)
- return (_("Claude에게 맡김: ") if on else _("맡김 해제: ")) + core.fmt_item(d.set_claude(t, on))
- def op_result(ref, text, file=None):
- d, t = _doc_item(file, ref)
- return _("결과 남김: ") + core.fmt_item(d.set_result(t, text))
- def op_block(ref, question, file=None):
- d, t = _doc_item(file, ref)
- t = d.set_status(t, "blocked")
- return _("질문 남김: ") + core.fmt_item(d.set_result(t, _("질문: {0}").format(question)))
- def op_register(path, name=None, cwd=None):
- path = os.path.abspath(path)
- if not os.path.exists(path):
- raise JuaError(_("파일 없음: {0} (새로 만들려면 jua new)").format(path))
- def fn(cfg):
- for e in core.entries(cfg):
- if e["path"].lower() == path.lower():
- raise JuaError(_("이미 등록됨: {0}").format(e['name']))
- item = {"path": path}
- if name:
- item["name"] = name
- if cwd:
- item["cwd"] = os.path.abspath(cwd)
- cfg["files"].append(item if len(item) > 1 else path)
- core.update_cfg(fn)
- return _("등록함: {0}").format(path)
- def op_unregister(file):
- cfg = core.load_cfg()
- e = core.find_entry(cfg, file)
- def fn(c):
- c["files"] = [x for x in c["files"]
- if os.path.abspath(os.path.expandvars(x if isinstance(x, str) else x.get("path", ""))).lower()
- != e["path"].lower()]
- core.update_cfg(fn)
- return _("등록 해제함(파일은 그대로): {0}").format(e['name'])
- def op_set_entry(file, name=None, cwd=None):
- cfg = core.load_cfg()
- e = core.find_entry(cfg, file)
- def fn(c):
- for k, x in enumerate(c["files"]):
- p = x if isinstance(x, str) else x.get("path", "")
- if os.path.abspath(os.path.expandvars(p)).lower() == e["path"].lower():
- x = {"path": p} if isinstance(x, str) else x
- if name:
- x["name"] = name
- if cwd:
- x["cwd"] = os.path.abspath(cwd)
- c["files"][k] = x
- core.update_cfg(fn)
- return _("바꿈: {0} (작업 폴더 {1})").format(name or e['name'], os.path.abspath(cwd) if cwd else e['cwd'])
- def op_new(path, title=None, sections=None, name=None, cwd=None, register=True):
- secs = [s.strip() for s in (sections or _("할 일")).split(",") if s.strip()]
- p = core.new_list(path, title or os.path.splitext(os.path.basename(path))[0], secs)
- msg = _("만듦: {0}").format(p)
- if register:
- msg += "\n" + op_register(p, name, cwd)
- return msg
- def op_config(key=None, value=None):
- cfg = core.load_cfg()
- if key is None:
- show = {k: v for k, v in cfg.items() if k != "files"}
- return json.dumps(show, ensure_ascii=False, indent=2)
- parts = key.split(".")
- if parts[0] == "files":
- raise JuaError(_("files는 jua register / unregister / entry로 바꿈"))
- if value is None:
- cur = cfg
- for p in parts:
- if not isinstance(cur, dict) or p not in cur:
- raise JuaError(_("설정 '{0}' 없음").format(key))
- cur = cur[p]
- return json.dumps(cur, ensure_ascii=False)
- try:
- val = json.loads(value)
- except ValueError:
- val = value
- def fn(c):
- cur = c
- for p in parts[:-1]:
- cur = cur.setdefault(p, {})
- cur[parts[-1]] = val
- core.update_cfg(fn)
- return f"{key} = {json.dumps(val, ensure_ascii=False)}"
- def op_install(mcp=False, startup=False):
- """jua 명령을 PATH(~/.local/bin)에 깔음. mcp=True면 Claude Code·데스크톱에 MCP 등록. 폴더 옮기면 다시 실행."""
- bindir = os.path.join(os.path.expanduser("~"), ".local", "bin")
- os.makedirs(bindir, exist_ok=True)
- me = os.path.abspath(__file__)
- py = sys.executable.replace("pythonw.exe", "python.exe")
- with open(os.path.join(bindir, "jua.cmd"), "w", encoding="utf-8") as f:
- f.write(f'@"{py}" "{me}" %*\r\n')
- with open(os.path.join(bindir, "jua"), "w", encoding="utf-8", newline="\n") as f:
- f.write(f'#!/bin/sh\nexec "{py.replace(os.sep, "/")}" "{me.replace(os.sep, "/")}" "$@"\n')
- out = [_("설치함: {0}\\jua.cmd, {1}\\jua").format(bindir, bindir)]
- if bindir.lower() not in os.environ.get("PATH", "").lower():
- out.append(_("주의: {0}가 PATH에 없음. PATH에 추가해야 jua 명령이 됨").format(bindir))
- if mcp:
- out += install_mcp(py, os.path.join(os.path.dirname(me), "jua_mcp.py"))
- if startup:
- out.append(install_startup())
- return "\n".join(out)
- def _pythonw():
- pyw = sys.executable.replace("python.exe", "pythonw.exe")
- return pyw if os.path.exists(pyw) else sys.executable
- def op_widget():
- import subprocess
- w = os.path.join(os.path.dirname(os.path.abspath(__file__)), "widget.py")
- subprocess.Popen([_pythonw(), w], cwd=os.path.dirname(w), creationflags=0x00000008 | 0x00000200)
- return _("위젯 실행함 (이미 떠 있으면 그대로)")
- def install_startup():
- import subprocess
- w = os.path.join(os.path.dirname(os.path.abspath(__file__)), "widget.py")
- startup = os.path.join(os.environ["APPDATA"], "Microsoft", "Windows", "Start Menu", "Programs", "Startup")
- Warning: Puts a file in the Windows Startup folder, so it runs at every login
- Line 215 on GitHub
- lnk = os.path.join(startup, "jua-list.lnk")
- for old in ("jua_list.lnk", "Todo Widget.lnk"):
- # 예전 이름 바로가기 정리
- try:
- os.remove(os.path.join(startup, old))
- except OSError:
- pass
- ps = ("$s=(New-Object -ComObject WScript.Shell).CreateShortcut($env:J_LNK);"
- "$s.TargetPath=$env:J_PYW;$s.Arguments='\"'+$env:J_W+'\"';$s.WorkingDirectory=$env:J_DIR;$s.Save()")
- env = dict(os.environ, J_LNK=lnk, J_PYW=_pythonw(), J_W=w, J_DIR=os.path.dirname(w))
- r = subprocess.run(["powershell", "-NoProfile", "-Command", ps], env=env, capture_output=True)
- return _("시작 프로그램 등록함: {0}").format(lnk) if r.returncode == 0 else _("시작 프로그램 등록 실패")
- def install_mcp(py, server):
- import shutil
- import subprocess
- out = []
- exe = shutil.which("claude")
- if exe:
- for name in ("jua-list", "jua_list"): # jua_list는 예전 이름
- subprocess.run([exe, "mcp", "remove", name, "--scope", "user"], capture_output=True)
- r = subprocess.run([exe, "mcp", "add", "--scope", "user", "jua-list", "--", py, server],
- capture_output=True, text=True, encoding="utf-8", errors="replace")
- out.append(_("Claude Code MCP 등록함") if r.returncode == 0 else _("Claude Code MCP 등록 실패: {0}").format(r.stderr.strip()))
- else:
- out.append(_("claude 명령 없음. Claude Code MCP 등록 건너뜀"))
- import glob
- # MSIX 설치면 패키지 안 LocalCache가 진짜 위치
- cands = glob.glob(os.path.join(os.environ.get("LOCALAPPDATA", ""), "Packages", "Claude_*",
- "LocalCache", "Roaming", "Claude"))
- cands.append(os.path.join(os.environ.get("APPDATA", ""), "Claude"))
- home = next((c for c in cands if os.path.isdir(c)), None)
- if not home:
- out.append(_("Claude 데스크톱 앱 설정 폴더 없음. 건너뜀"))
- else:
- path = os.path.join(home, "claude_desktop_config.json")
- data = {}
- if os.path.exists(path):
- try:
- with open(path, encoding="utf-8-sig") as f:
- data = json.load(f)
- except ValueError:
- # 깨진 설정 덮어쓰면 안 됨
- out.append(_("데스크톱 설정 형식 오류. 건너뜀: {0}").format(path))
- return out
- data.setdefault("mcpServers", {}).pop("jua_list", None)
- data["mcpServers"]["jua-list"] = {"command": py, "args": [server]}
- core.atomic_write(path, (json.dumps(data, ensure_ascii=False, indent=2) + "\n").encode("utf-8"))
- out.append(_("데스크톱 앱 MCP 등록함 (앱 다시 시작해야 반영): {0}").format(path))
- return out
- # ---------- CLI ----------
- def main(argv=None):
- for s in (sys.stdout, sys.stderr):
- try:
- s.reconfigure(encoding="utf-8")
- except Exception:
- pass
- fp = argparse.ArgumentParser(add_help=False)
- fp.add_argument("-f", "--file", help=_("목록 이름·번호·경로 (생략하면 지금 폴더 목록, 없으면 첫 목록)"))
- ap = argparse.ArgumentParser(prog="jua", description=_("jua-list: Claude와 같이 쓰는 todo 목록"))
- sp = ap.add_subparsers(dest="cmd", required=True)
- sp.add_parser("lists", help=_("등록된 목록과 개수"))
- p = sp.add_parser("list", parents=[fp], help=_("항목 보기"))
- p.add_argument("--status", choices=list(core.MARK))
- p.add_argument("--claude", action="store_true", help=_("Claude 맡긴 것만"))
- p.add_argument("--hide-done", action="store_true")
- p.add_argument("--all", action="store_true", help=_("모든 목록"))
- p = sp.add_parser("add", parents=[fp], help=_("항목 추가"))
- p.add_argument("text")
- p.add_argument("-s", "--section")
- p.add_argument("--claude", action="store_true", help=_("Claude에게 맡김"))
- p.add_argument("--create", action="store_true", help=_("섹션 없으면 만듦"))
- for name, hlp in [("done", _("완료")), ("undo", _("대기로 되돌림")), ("rm", _("삭제"))]:
- sp.add_parser(name, parents=[fp], help=hlp).add_argument("ref", help=_("id, 번호, 글자 일부"))
- p = sp.add_parser("status", parents=[fp], help=_("상태 바꿈"))
- p.add_argument("ref")
- p.add_argument("status", choices=list(core.MARK))
- p = sp.add_parser("edit", parents=[fp], help=_("내용 고침"))
- p.add_argument("ref")
- p.add_argument("text")
- p = sp.add_parser("move", parents=[fp], help=_("옮김"))
- p.add_argument("ref")
- g = p.add_mutually_exclusive_group(required=True)
- g.add_argument("--to", help=_("다른 섹션 끝으로"))
- g.add_argument("--up", type=int)
- g.add_argument("--down", type=int)
- p = sp.add_parser("claude", parents=[fp], help=_("Claude에게 맡김(on)/해제(off)"))
- p.add_argument("ref")
- p.add_argument("onoff", choices=["on", "off"], nargs="?", default="on")
- p = sp.add_parser("result", parents=[fp], help=_("결과 한 줄 남김 (빈 문자열이면 지움)"))
- p.add_argument("ref")
- p.add_argument("text")
- p = sp.add_parser("block", parents=[fp], help=_("막힘으로 바꾸고 질문 남김"))
- p.add_argument("ref")
- p.add_argument("question")
- p = sp.add_parser("new", help=_("새 목록 파일 만들고 등록"))
- p.add_argument("path")
- p.add_argument("--title")
- p.add_argument("--sections", help=_("쉼표로 구분"))
- p.add_argument("--name")
- p.add_argument("--cwd", help=_("Claude 작업 폴더"))
- p.add_argument("--no-register", action="store_true")
- p = sp.add_parser("register", help=_("기존 .md 등록"))
- p.add_argument("path")
- p.add_argument("--name")
- p.add_argument("--cwd")
- sp.add_parser("unregister", help=_("등록 해제")).add_argument("file")
- p = sp.add_parser("entry", help=_("목록 이름·작업 폴더 바꿈"))
- p.add_argument("file")
- p.add_argument("--name")
- p.add_argument("--cwd")
- p = sp.add_parser("config", help=_("설정 보기·바꿈 (예: jua config alpha 220)"))
- p.add_argument("key", nargs="?")
- p.add_argument("value", nargs="?")
- p = sp.add_parser("install", help=_("jua 명령을 PATH에 설치"))
- p.add_argument("--mcp", action="store_true", help=_("Claude Code·데스크톱 앱에 MCP 서버도 등록"))
- p.add_argument("--startup", action="store_true", help=_("로그인 시 위젯 자동 실행"))
- sp.add_parser("widget", help=_("위젯 실행"))
- sp.add_parser("home", help=_("데이터 폴더(설정·실행 기록) 위치"))
- a = ap.parse_args(argv)
- f = getattr(a, "file", None)
- try:
- c = a.cmd
- if c == "lists":
- r = op_lists()
- elif c == "list":
- r = op_list(f, a.status, a.claude, a.hide_done, a.all)
- elif c == "add":
- r = op_add(a.text, f, a.section, a.claude, a.create)
- elif c == "done":
- r = op_status(a.ref, "done", f)
- elif c == "undo":
- r = op_status(a.ref, "todo", f)
- elif c == "status":
- r = op_status(a.ref, a.status, f)
- elif c == "rm":
- r = op_rm(a.ref, f)
- elif c == "edit":
- r = op_edit(a.ref, a.text, f)
- elif c == "move":
- r = op_move(a.ref, f, a.to, (a.down or 0) - (a.up or 0))
- elif c == "claude":
- r = op_claude(a.ref, a.onoff == "on", f)
- elif c == "result":
- r = op_result(a.ref, a.text, f)
- elif c == "block":
- r = op_block(a.ref, a.question, f)
- elif c == "new":
- r = op_new(a.path, a.title, a.sections, a.name, a.cwd, not a.no_register)
- elif c == "register":
- r = op_register(a.path, a.name, a.cwd)
- elif c == "unregister":
- r = op_unregister(a.file)
- elif c == "entry":
- r = op_set_entry(a.file, a.name, a.cwd)
- elif c == "config":
- r = op_config(a.key, a.value)
- elif c == "install":
- r = op_install(a.mcp, a.startup)
- elif c == "widget":
- r = op_widget()
- elif c == "home":
- r = core.HOME
- print(r)
- return 0
- except JuaError as e:
- print(_("오류: {0}").format(e), file=sys.stderr)
- return 1
- if __name__ == "__main__":
- sys.exit(main())
Ratings and comments
Sign in to rate this skill.
Sign inFree to use. If it’s helped, pass it on.