Skip to content

Consolidate CLIs into a single eryx binary #100

Description

@sd2k

Summary

Currently there are two CLI binaries:

It would be nice to consolidate into a single eryx CLI (Rust binary) with subcommands, e.g.:

eryx run script.py          # execute a script
eryx repl                   # interactive REPL
eryx setup                  # download + pre-compile runtime (from #99)
eryx precompile             # advanced: precompile from local wasm

Considerations

  • The Rust CLI could replace the Python __main__.py entry point
  • Would need feature parity with the Python CLI (REPL, streaming output, volumes, callbacks, etc.)
  • cargo-dist would build this single binary instead of eryx-precompile
  • cargo binstall eryx would give users both the library and the CLI tool

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions