Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/CodeEditApp/CodeEditCLI

A command-line-interface to open files/folders in CodeEdit.app
https://github.com/CodeEditApp/CodeEditCLI

Last synced: about 2 months ago
JSON representation

A command-line-interface to open files/folders in CodeEdit.app

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