Keyshade Alpha is launching April 30th 5:00 PM IST
Join our Launch Party
keyshade docs
GithubDiscordReddit
  • 👋What is keyshade?
  • Getting Started
    • Introduction
    • Adding your first secret and variable
    • Installing the CLI
    • Setting up your profile
    • Add keyshade to your project
    • Running your app
  • CLI
    • Introduction
    • Profile
    • Init
    • Workspace
    • Project
    • Environment
    • Run
    • Scan
  • 🥰CONTRIBUTING TO KEYSHADE
    • Summary
    • Design of our code
      • Organization of code
      • API
      • CLI
      • Web
      • Integrations
    • Prerequisites
    • Environment Variables
    • Setting things up
    • Running things locally
      • Running the API
      • Running the Web
      • Running the Platform
      • Running the CLI
      • API Testing
      • Docker Support
  • Internals
    • Architecture of keyshade
    • How the CLI works
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. CONTRIBUTING TO KEYSHADE
  2. Running things locally

Running the CLI

Get to know how you can develop the CLI!

You can get started with developing the CLI using the following steps:

  • Start developing the code

  • The CLI depends upon 2 internal packages: @keyshade/api-client and @keyshade/secret-scan. Build these two packages:

    pnpm build:api-client
    pnpm build:secret-scan
  • Run the API:

    docker compose up -d
    pnpm dev:api
  • To make a quick check of the features you have just built, run:

    pnpm dev:cli -- <whatever command goes here>

Note that, if you make any changes to any of the two packages mentioned above, you would need to rebuild them. Otherwise, the changes would not be reflected in the CLI.

PreviousRunning the PlatformNextAPI Testing

Last updated 8 months ago

Was this helpful?

🥰