Skip to content

mirrorstack-ai/mirrorstack-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MirrorStack CLI

Official command-line tool for the MirrorStack platform.

Install

cargo install --git https://github.com/mirrorstack-ai/mirrorstack-cli

Pre-built releases (brew, scoop, deb) coming with the next milestone.

Commands

mirrorstack login           # Sign in via OAuth (PKCE)
mirrorstack logout          # Revoke the current session and wipe local credentials
mirrorstack whoami          # Print the currently signed-in user
mirrorstack module init     # Register a new module on the platform
mirrorstack --help          # Show help
mirrorstack --version       # Show CLI version

Local development

Build:

cargo build
cargo test

Run against local services. Easiest is a .env file in the project root — copy .env.example and edit:

cp .env.example .env
cargo run -- login

Or set the env vars per-invocation (these always win over .env):

MIRRORSTACK_API_URL=http://localhost:8081 \
MIRRORSTACK_WEB_URL=http://localhost:3000 \
cargo run -- login

About

MirrorStack CLI — scaffold, develop, and deploy modules

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors