rcode Improved
Project description
rcode-tddschn
rcode Improved.
Fork of https://github.com/yihong0618/rcode .
Improvements
- Supports specifying VSCode release channel (stable, insiders, etc.) via
-rflag. - Deleting and listing
shortcuts. - Detailed help messages.
- Grammar fixes.
- 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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rcode_tddschn-0.5.2.tar.gz
(6.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rcode_tddschn-0.5.2.tar.gz.
File metadata
- Download URL: rcode_tddschn-0.5.2.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.12.0 Darwin/23.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a120f284afca265a9d521d420776951d60dcdced8c39eb59a4b654768d7644c2
|
|
| MD5 |
428441d25aaca0ad7942a20da353909c
|
|
| BLAKE2b-256 |
c7e81436eb3c77c6ff43f748d6ded09bff7921a01992610d8057d1572df4e00f
|
File details
Details for the file rcode_tddschn-0.5.2-py3-none-any.whl.
File metadata
- Download URL: rcode_tddschn-0.5.2-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.12.0 Darwin/23.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f80a24caab72e888636336fa0d95e740e9815034026495dcabc4b2c7259b547
|
|
| MD5 |
f78e80b52f5223f878c95b63704bf81c
|
|
| BLAKE2b-256 |
13fd07b5023b47eba4ea07d42eeae3da3776f396a3cf420a6bfcd155b250e063
|