opensip-cli
v0.1.7
Published
OpenSIP CLI — codebase analysis from the command line (the CLI; `npm i -g opensip-cli`)
Maintainers
Readme
OpenSIP CLI
The opensip command — codebase analysis from the command line.
Install
curl -fsSL https://opensip.ai/cli/install.sh | bashQuick start
cd your-project
opensip # welcome screen
opensip init # detect language, scaffold layout
opensip fit --recipe example # smoke-test the example check
opensip sim --recipe example # smoke-test the example scenarioWhat's in the box
fit— run fitness checks against your codebase (core command).fit-list— list available checks.fit-recipes— list available recipes.report— open an HTML report in your browser.sim— run simulation recipes.init— detect language and scaffoldopensip-cli.config.ymlplus example checks/recipes/scenarios underopensip-cli/.sessions list|purge— manage stored session data.configure— set up an OpenSIP Cloud API key for--report-to.plugin list|add|remove|sync— manage npm-installed plugin packages declared inplugins.<domain>:(project-local).completion— print a shell-completion script for bash / zsh / fish.uninstall— remove~/.opensip-cli/(user-level cloud config) for a clean-slate reset. Project-localopensip-cli/.runtime/is gitignored — delete it manually if needed.
The CLI is a generic tool dispatcher:
fitness and simulation are first-party tools, but the underlying CLI
doesn't hardcode either. Adding a new tool — audit, lint, bench,
whatever — is a plugin operation.
Full documentation
See the repository README for the complete reference — authoring plugins, CI integration, cloud reporting, configuration schema, and more.
License
Apache-2.0
