Skip to main content

rcode-tddschn

rcode Improved.

Fork of https://github.com/yihong0618/rcode .

Improvements

  1. Supports specifying VSCode release channel (stable, insiders, etc.) via -r flag.
  2. Deleting and listing shortcuts.
  3. Detailed help messages.
  4. Grammar fixes.
  5. Uses pyproject.toml instead of setup.py.

Usage

$ rcode --help

usage: rcode [-h] [-r {stable,insiders}] [-l] [-s SHORTCUT_NAME] [-o OPEN_SHORTCUT] [-L] [-d DELETE_SHORTCUT] [-D] [dir] [host]

A command line tool to open directories in VSCode remotely or locally.

positional arguments:
  dir                   The local directory path to open in VSCode or the remote directory path when used with a host.
  host                  The SSH hostname as specified in your .ssh/config to open a remote directory in VSCode.

options:
  -h, --help            show this help message and exit
  -r {stable,insiders}, --release {stable,insiders}
                        VS Code release channel to use (stable or insiders)
  -l, --latest          Open the most recently used remote directory.
  -s SHORTCUT_NAME, -sn SHORTCUT_NAME, --shortcut_name SHORTCUT_NAME
                        rcode host dir -s <shortcut_name> | Add a shortcut name for the remote directory to quickly access it later. | Saved to
                        /Users/tscp/.rcode-tddschn.csv
  -o OPEN_SHORTCUT, -os OPEN_SHORTCUT, --open_shortcut OPEN_SHORTCUT
                        Open a remote directory quickly using the previously saved shortcut name.
  -L, --list            List all configured shortcuts
  -d DELETE_SHORTCUT, --delete DELETE_SHORTCUT
                        Delete a shortcut by name
  -D, --delete-all      Delete all shortcuts after confirmation

Note

This project depends on distutils which was removed in Python 3.12.

Installation

pipx

This is the recommended installation method.

$ pipx install rcode-tddschn
# pipx install --python "$(which python3.11)" rcode-tddschn

pip

$ pip install rcode-tddschn
# python3.11 -m pip install rcode-tddschn

Develop

$ git clone https://github.com/tddschn/rcode-tddschn.git
$ cd rcode-tddschn
# poetry env use "$(which python3.11)"
$ poetry install

Metadata

Release files for rcode-tddschn 0.5.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rcode-tddschn 0.5.2
File Size Uploaded
rcode_tddschn-0.5.2.tar.gz 6.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rcode-tddschn 0.5.2
File Interpreter ABI Platform
rcode_tddschn-0.5.2-py3-none-any.whl Python 3 none any Details

Total release size: 13.8 kB

Release files / rcode_tddschn-0.5.2.tar.gz

Download URL rcode_tddschn-0.5.2.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a120f284afca265a9d521d420776951d60dcdced8c39eb59a4b654768d7644c2
BLAKE2b-256 checksum
How to use checksums
c7e81436eb3c77c6ff43f748d6ded09bff7921a01992610d8057d1572df4e00f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.0 CPython/3.12.0 Darwin/23.1.0

Release files / rcode_tddschn-0.5.2-py3-none-any.whl

Download URL rcode_tddschn-0.5.2-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8f80a24caab72e888636336fa0d95e740e9815034026495dcabc4b2c7259b547
BLAKE2b-256 checksum
How to use checksums
13fd07b5023b47eba4ea07d42eeae3da3776f396a3cf420a6bfcd155b250e063
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.0 CPython/3.12.0 Darwin/23.1.0

Release history Release notifications | RSS feed

This release

0.5.2 This release

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page