Introducing the Verso CLI #28
TorreyBetts
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Starting with v1.0.12, Verso ships as a .NET global tool. One install gives you the full Verso editor in any browser, headless notebook execution for CI/CD, and format conversion between
.verso,.ipynb, and.dibfiles.That's it. Every language kernel, formatter, and extension that ships with Verso is included.
Why a CLI?
Notebooks are powerful for exploration, but their value doesn't have to stop at the editor. A report built in Verso can be scheduled. A data pipeline prototyped interactively can graduate to a CI job. A teammate who doesn't use VS Code can open the exact same notebook in their browser without cloning a repo or configuring an extension.
The CLI makes all of that possible with a single tool.
Launch the Editor Anywhere
verso servestarts the full Verso editor as a local web server. No VS Code required, just a browser.This is useful for machines where VS Code isn't installed, remote servers accessed over SSH tunnels, or anyone who prefers working in the browser.
Run Notebooks Headlessly
verso runexecutes a notebook from top to bottom and streams the output. No UI, no browser, just results.Exit codes are deterministic (0 for success, 1 for cell failure, 2 for timeout, 5 for missing parameters), so your CI system always knows what happened.
Convert Between Formats
verso converthandles format conversion without opening a notebook. Useful for migrating Jupyter or Polyglot Notebook files, or for stripping outputs before committing to version control.Load Custom Extensions
All four commands accept an
--extensionsflag that points to a directory containing additional extension assemblies. This is how you load third-party or custom-built extensions that aren't bundled with the CLI.Extension authors ship their extensions as .NET assemblies. Drop them into a directory, point
--extensionsat it, and the CLI discovers and loads them automatically. This works the same way whether you're running locally or in a CI pipeline.CI/CD Integration
GitHub Actions
Azure DevOps Pipelines
Parameterized Builds
Because notebooks support typed parameters, you can drive the same notebook across multiple configurations:
Check Your Setup
verso infoshows the installed version, .NET runtime, and all discovered extensions:Get Started
Full option reference and additional CI/CD examples are in the CLI README. If you run into issues or have feedback, open an issue or reply here.
Beta Was this translation helpful? Give feedback.
All reactions