# rcode-tddschn
rcode Improved.
Fork of https://github.com/yihong0618/rcode .
- [rcode-tddschn](#rcode-tddschn)
- [Improvements](#improvements)
- [Usage](#usage)
- [Note](#note)
- [Installation](#installation)
- [pipx](#pipx)
- [pip](#pip)
- [Develop](#develop)
## Improvements
1. Supports specifying VSCode release channel (stable, insiders, etc.) via `-r` flag.
2. Deleting and listing `shortcut`s.
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](https://pypi.org/project/rcode-tddschn/)
```
$ 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
```
Raw data
{
"_id": null,
"home_page": "https://github.com/tddschn/rcode-tddschn",
"name": "rcode-tddschn",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.11,<3.12",
"maintainer_email": "",
"keywords": "vscode",
"author": "chvolkmann",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/c7/e8/1436eb3c77c6ff43f748d6ded09bff7921a01992610d8057d1572df4e00f/rcode_tddschn-0.5.2.tar.gz",
"platform": null,
"description": "# rcode-tddschn\n\nrcode Improved.\n\nFork of https://github.com/yihong0618/rcode .\n\n- [rcode-tddschn](#rcode-tddschn)\n - [Improvements](#improvements)\n - [Usage](#usage)\n - [Note](#note)\n - [Installation](#installation)\n - [pipx](#pipx)\n - [pip](#pip)\n - [Develop](#develop)\n\n\n## Improvements\n\n1. Supports specifying VSCode release channel (stable, insiders, etc.) via `-r` flag.\n2. Deleting and listing `shortcut`s.\n3. Detailed help messages.\n4. Grammar fixes.\n5. Uses pyproject.toml instead of setup.py.\n\n## Usage\n\n```\n$ rcode --help\n\nusage: rcode [-h] [-r {stable,insiders}] [-l] [-s SHORTCUT_NAME] [-o OPEN_SHORTCUT] [-L] [-d DELETE_SHORTCUT] [-D] [dir] [host]\n\nA command line tool to open directories in VSCode remotely or locally.\n\npositional arguments:\n dir The local directory path to open in VSCode or the remote directory path when used with a host.\n host The SSH hostname as specified in your .ssh/config to open a remote directory in VSCode.\n\noptions:\n -h, --help show this help message and exit\n -r {stable,insiders}, --release {stable,insiders}\n VS Code release channel to use (stable or insiders)\n -l, --latest Open the most recently used remote directory.\n -s SHORTCUT_NAME, -sn SHORTCUT_NAME, --shortcut_name SHORTCUT_NAME\n rcode host dir -s <shortcut_name> | Add a shortcut name for the remote directory to quickly access it later. | Saved to\n /Users/tscp/.rcode-tddschn.csv\n -o OPEN_SHORTCUT, -os OPEN_SHORTCUT, --open_shortcut OPEN_SHORTCUT\n Open a remote directory quickly using the previously saved shortcut name.\n -L, --list List all configured shortcuts\n -d DELETE_SHORTCUT, --delete DELETE_SHORTCUT\n Delete a shortcut by name\n -D, --delete-all Delete all shortcuts after confirmation\n\n```\n\n## Note\n\nThis project depends on `distutils` which was removed in Python 3.12.\n\n## Installation\n\n### pipx\n\nThis is the recommended installation method.\n\n```\n$ pipx install rcode-tddschn\n# pipx install --python \"$(which python3.11)\" rcode-tddschn\n```\n\n### [pip](https://pypi.org/project/rcode-tddschn/)\n\n```\n$ pip install rcode-tddschn\n# python3.11 -m pip install rcode-tddschn\n```\n\n\n## Develop\n\n```\n$ git clone https://github.com/tddschn/rcode-tddschn.git\n$ cd rcode-tddschn\n# poetry env use \"$(which python3.11)\"\n$ poetry install\n```",
"bugtrack_url": null,
"license": "MIT",
"summary": "rcode Improved",
"version": "0.5.2",
"project_urls": {
"Bug Tracker": "https://github.com/tddschn/rcode-tddschn/issues",
"Homepage": "https://github.com/tddschn/rcode-tddschn",
"Repository": "https://github.com/tddschn/rcode-tddschn"
},
"split_keywords": [
"vscode"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "13fd07b5023b47eba4ea07d42eeae3da3776f396a3cf420a6bfcd155b250e063",
"md5": "f78e80b52f5223f878c95b63704bf81c",
"sha256": "8f80a24caab72e888636336fa0d95e740e9815034026495dcabc4b2c7259b547"
},
"downloads": -1,
"filename": "rcode_tddschn-0.5.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f78e80b52f5223f878c95b63704bf81c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11,<3.12",
"size": 7544,
"upload_time": "2023-11-15T03:15:50",
"upload_time_iso_8601": "2023-11-15T03:15:50.986597Z",
"url": "https://files.pythonhosted.org/packages/13/fd/07b5023b47eba4ea07d42eeae3da3776f396a3cf420a6bfcd155b250e063/rcode_tddschn-0.5.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c7e81436eb3c77c6ff43f748d6ded09bff7921a01992610d8057d1572df4e00f",
"md5": "428441d25aaca0ad7942a20da353909c",
"sha256": "a120f284afca265a9d521d420776951d60dcdced8c39eb59a4b654768d7644c2"
},
"downloads": -1,
"filename": "rcode_tddschn-0.5.2.tar.gz",
"has_sig": false,
"md5_digest": "428441d25aaca0ad7942a20da353909c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11,<3.12",
"size": 6301,
"upload_time": "2023-11-15T03:15:52",
"upload_time_iso_8601": "2023-11-15T03:15:52.321189Z",
"url": "https://files.pythonhosted.org/packages/c7/e8/1436eb3c77c6ff43f748d6ded09bff7921a01992610d8057d1572df4e00f/rcode_tddschn-0.5.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-15 03:15:52",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "tddschn",
"github_project": "rcode-tddschn",
"github_not_found": true,
"lcname": "rcode-tddschn"
}