New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@persistr/cli

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@persistr/cli

CLI for interacting with Persistr Server

  • 4.4.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Persistr CLI

Command-line interface for Persistr Server and Persistr Cloud

Installing

Install the Persistr CLI on the command-line:

npm install -g @persistr/cli

Getting Started

Run the Persistr CLI:

persistr

You will get a list of available commands:

COMMANDS
  access       manage user access                  
  annotations  manage stream annotations           
  db           manage databases                    
  events       manage events                       
  help         display help                        
  ns           manage namespaces                   
  server       manage connection to Persistr Server
  streams      manage event streams                
  user         login/logout and manage users       

View help page for each command by using help on the command-line:

persistr help db:list

Or by using the -h or --help command-line options:

persistr db:list -h
persistr db:list --help

Logging In

You'll have to tell Persistr CLI where your Persistr Server is located. By default, the CLI will talk to Persistr Cloud. If you have a local Persistr Server instance running then tell the CLI what its location is:

persistr server:url http://localhost:3010

You can display what Persistr Server your CLI is configured to access by running the server:show command:

persistr server:show
Persistr Server at http://localhost:3010 

Log into Persistr Server by running the user:login command:

persistr user:login demo
✔ Password? … ****
demo logged in

Display which user is logged in with the user:whoami command:

persistr user:whoami
demo "demo" is logged into Persistr Server at http://localhost:3010 

License

See the LICENSE file for license rights and limitations (GPL).

Keywords

FAQs

Package last updated on 23 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc