opiv0.11.0

Showcase

Each example shows real output produced by opi itself, from files in the project repository. Input on the left, output on the right.

Script list

site/captures/list.txtDetail: Script list →
$ opi | cat
opi  cargo
  7 entries · 3 groups

Development
  cargo run     Build and run the binary
Build
  cargo build   Build in release mode
  cargo check   Type-check without building
Quality
  cargo clippy  Lint with warnings denied
  cargo doc     Build and open the documentation
  cargo fmt     Format the source
  cargo test    Run the test suite

H Health   C Clean   S Security   U Updates
  • scripts
  • cargo
  • piped

Health

site/captures/health.ansiDetail: Health →
$ opi --health
opi  health

✓ Format (rust)       0.1s  cargo
✓ Lockfile (rust)     0.0s  cargo
✓ Docs (rust)         0.5s  cargo
✓ Lint (rust)         2.5s  cargo
✓ Tests (rust)        3.0s  cargo

5 checks passed.
  • health
  • cargo

Before commit

site/captures/commit.ansiDetail: Before commit →
$ opi --check commit
opi  before commit

✓ Lockfile (rust)  cargo
✓ Docs (rust)      cargo
✓ Format (rust)    cargo
✓ Lint (rust)      cargo

Ready to commit.
  • workflow
  • cargo

Security

site/captures/security.ansiDetail: Security →
$ opi --security
opi  security

No secret scanner: this project depends on none that opi knows.

✓ Dependencies (rust) — no known vulnerabilities

Nothing to act on.
  • security
  • cargo audit

Updates

site/captures/updates.txtDetail: Updates →
$ opi --updates | cat
opi  updates

– Dependencies — no package.json here

✓ Dependencies (rust) — everything is current
  • updates
  • cargo outdated
  • piped

Clean

site/captures/clean.txtDetail: Clean →
$ opi --clean | cat
opi  clean

  target  657.1 MB

Run opi --clean in a terminal to remove any of it.
  • clean
  • piped