Skip to content

Latest commit

 

History

History
70 lines (47 loc) · 2.06 KB

README.md

File metadata and controls

70 lines (47 loc) · 2.06 KB

The devzero logo

Workflow Status License Version

LDA

The LDA CLI is local developer analytics tool. It provides:

  • Tracking commands executed in user shell
  • Tracking processes running on users computer
  • Overview of command execution
  • Overview of most intensive processes over time

Installation

Homebrew

You can install lda using [Homebrew][brew] (macOS or Linux):

brew install <>

wget

You can install lda using wget:

wget https://github.com/devzero-inc/local-developer-analytics/releases/download/<version>/lda-<os>-<arch>.zip
unzip lda-<os>-<arch>.zip
mv lda /usr/local/bin

Other methods

Install from source:

  • Clone the project
  • Change directory
  • Run make install
    • binary will be in your $GOPATH/bin
    • if your PATH isn't set correctly: export GOPATH=$(go env GOPATH) && export PATH=$PATH:$GOPATH/bin
  • Run make install-global
    • binary will be in /usr/local/bin

Install & Usage

LDA help interface provides summaries for commands and flags:

lda --help

After binary has been compiled we can install the service with the following commands:

  • lda install => This will install the daemon, configure base directory, and inject configuration into the shell
  • lda start => This will start the daemon
  • lda stop => This will stop the daemon
  • lda uninstall => This will uninstall the LDA and remove all configuration
  • lda serve => This will serve the local dashbaord with data overview

Community

For updates on the LDA CLI, follow this repo on GitHub.

For information on contributing to this project, please see the contributing guidelines.