Skip to content

A Teamscale command line interface to integrate findings into text editors such as vim, eclipse or sublime.

Notifications You must be signed in to change notification settings

dpagano/teamscale-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Teamscale Command Line Interface

The Teamscale command line interface is used to enable integration into text editors such as VIM, Emacs or Sublime, by providing findings in a standard error format that can be interpreted like compile time errors.

Setup

  1. Install jq: https://stedolan.github.io/jq/download/
  2. Clone this repository:
$ git clone https://github.com/cqse/teamscale-cli.git
  1. Copy the .teamscale-cli.config to your user directory:
$ cp .teamscale-cli.config ~ 

Now edit it and insert all the necessary data.

  1. Put the teamscale-cli shell script anywhere that is on your local $PATH, so that it can easily be executed.

  2. In your editor you can run this as a compile command, but be sure to provide the absolute path to the file in the current editor as the first argument:

$ teamscale-cli /home/user/project/src/foo/AssumptionViolatedException.java
AssumptionViolatedException.java:30:0: error: Avoid leaving deprecated classes / methods / fields
AssumptionViolatedException.java:21:0: error: Avoid leaving deprecated classes / methods / fields

About

A Teamscale command line interface to integrate findings into text editors such as vim, eclipse or sublime.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%