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
  • Commands
  • Installing the CLI
  • Global flags
  • --profile <profile>
  • --api-key <key>
  • --base-url <url>

Was this helpful?

Edit on GitHub
  1. CLI

Introduction

Get up and running with our CLI tool in no time.

PreviousRunning your appNextProfile

Last updated 4 months ago

Was this helpful?

Our CLI is one of the major component of keyshade. The CLI is the entrypoint for your application to tap into the live updates from our platform. Whatever changes you make to your secrets or variables in your project, are reflected automatically in your application. Besides that, it also helps you to interact with the keyshade API.

Commands

The CLI has the following commands:

  • : This command is used to create, delete, list and switch between profiles.

  • : This command is used to initialize your project to tap into the live updates from our platform.

  • : This command is used to run your application.

Installing the CLI

To install the CLI, simply run:

npm install -g @keyshade/cli

Verify the installation using:

keyshade --help

Global flags

Global flags work with any command in the CLI. The following are the global flags:

--profile <profile>

--api-key <key>

--base-url <url>

This flag is used to specify the profile to use. If not specified, the default profile is used. If you specify this flag, the flag and the flag are ignored.

This flag is used to specify the API key to use. Won't work if the flag is specified.

This flag is used to specify the base URL of the API to use. Won't work if the flag is specified. The default is https://api.keyshade.xyz.

profile
init
run
--api-key
--base-url
--profile
--profile