Skip to content

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

Notifications You must be signed in to change notification settings

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     

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •