Skip to content

CodeEditApp/CodeEditCLI

Repository files navigation

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)

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

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

codeedit ./my-project

File

codeedit index.html

From an optional line

codeedit index.html:50

From an optional line and column

codeedit index.html:50:50

version

Outputs the version of CodeEdit and CodeEdit CLI Tools.

codeedit version

new-window (not available yet)

Opens a new window.

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