Skip to content

Rename the remote command-line client to mytk#99

Merged
dccote merged 1 commit into
mainfrom
feature/cli-tools
Jul 7, 2026
Merged

Rename the remote command-line client to mytk#99
dccote merged 1 commit into
mainfrom
feature/cli-tools

Conversation

@dccote

@dccote dccote commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Scoped to the general command-line tool only. Earlier downstream-app plumbing (remote_cli, install_command_on_path, App.add_file_menu_command) was removed.

What this does

Renames the remote command-line client's console script from mytk-remote to mytk — the one general tool to probe, --list, --browse, --discover, and drive any RemoteControllable app.

The mytk-remote name (introduced in 1.7.0) is dropped entirely — no compatibility alias. All references (docstrings, the server thread name, tests) are updated so nothing points at the old name. python -m mytk --remote still works.

mytk "add(2, 3)"                 # call an exposed function
mytk --list                      # what does the app expose?
mytk --browse                    # what apps are on the network?
mytk --discover --app-name X "status()"

Scope

  • Command syntax, flags, discovery behavior, and exit codes are unchanged.
  • 6 files: pyproject.toml (console script), mytk/remotecli.py (docstring + main()), mytk/remote.py + mytk/remotecontrollable.py (doc/thread-name references), mytk/tests/testRemoteDiscovery.py (test labels), CHANGELOG.md.
  • No new public API, files, or dependencies. No new ruff violations.

Compatibility

mytk-remote no longer exists (it shipped only in 1.7.0). Use mytk or python -m mytk --remote.

🤖 Generated with Claude Code

@dccote
dccote force-pushed the feature/cli-tools branch from 5daab11 to 506dbe8 Compare July 7, 2026 18:25
@dccote dccote changed the title CLI-tool helpers: mytk command, remote_cli, install_command_on_path, add_file_menu_command Rename the remote command-line client to mytk Jul 7, 2026
The remote CLI is the one general tool to probe/--list/--browse/--discover and
drive any RemoteControllable app. Rename its console script from `mytk-remote`
to `mytk`. The short-lived `mytk-remote` name (introduced in 1.7.0) is dropped
entirely — no alias — and all references (docstrings, the server thread name,
tests) are updated for consistency. `python -m mytk --remote` still works.

Behavior, flags, syntax and exit codes are unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@dccote
dccote force-pushed the feature/cli-tools branch from 506dbe8 to e39b637 Compare July 7, 2026 18:38
@dccote
dccote merged commit d34c02c into main Jul 7, 2026
11 checks passed
@dccote
dccote deleted the feature/cli-tools branch July 7, 2026 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant