Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/CodeEditApp/CodeEditCLI
A command-line-interface to open files/folders in CodeEdit.app
https://github.com/CodeEditApp/CodeEditCLI
Last synced: 3 months ago
JSON representation
A command-line-interface to open files/folders in CodeEdit.app
- Host: GitHub
- URL: https://github.com/CodeEditApp/CodeEditCLI
- Owner: CodeEditApp
- Created: 2022-12-06T04:17:07.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-30T17:20:56.000Z (7 months ago)
- Last Synced: 2024-07-05T13:37:08.635Z (4 months ago)
- Language: Swift
- Size: 162 KB
- Stars: 54
- Watchers: 11
- Forks: 10
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
CodeEdit CLI
`codeedit` is a set of command line tools that ship with CodeEdit which allow users to open and interact with editor via the command line.
## Installation
### Homebrew (Recommended)
```sh
brew install codeeditapp/formulae/codeedit-cli# or
brew tap codeeditapp/formulae
brew install codeedit-cli
```### Download
Download the universal binary from the latest release, extract the zip and move it to `/usr/local/bin/`.
### Build locally
```sh
swift build -c release --arch arm64 --arch x86_64
sudo cp -f .build/apple/Products/Release/codeedit /usr/local/bin/codeedit
```> Note that you must have `CodeEdit` installed in a `Release` configuration. A `Debug` build of `CodeEdit` will not work.
## Documentation
### `open`
Opens CodeEdit.
### Folder
```sh
codeedit ./my-project
```### File
```sh
codeedit index.html
```From an optional line
```sh
codeedit index.html:50
```From an optional line and column
```sh
codeedit index.html:50:50
```### `version`
Outputs the version of CodeEdit and CodeEdit CLI Tools.
```sh
codeedit version
```### `new-window` (not available yet)
Opens a new window.
```sh
codeedit new-window
```### `--goto` (not available yet)
Opens a file at a line and optional position.
Documentation coming soon.
### `list-extensions` (not available yet)
Documentation coming soon.
### `install` (not available yet)
Install an extension.
Documentation coming soon.
### `uninstall` (not available yet)
Uninstall an extension.
Documentation coming soon.
### `activate` (not available yet)
Activate an extension.
Documentation coming soon.
### `deactivate` (not available yet)
Deactivate an extension.
Documentation coming soon.
## Related Repositories
CodeEdit
CodeEditSourceEditor
CodeEditTextView
CodeEditLanguages
CodeEditKit