Skip to content

JS CLI confusion - rename or rebuild in rust? #803

Open
@joepio

Description

@joepio

The @tomic/cli JS tool is used for type generation, whereas the Rust tool is more like a general client that does view / edit.

Having multiple CLI tools feel confusing. Ideally, we merge them, but we need to

Rename (e.g. to @tomic/typegen)

  • Allows package.json NPM installs, easy
  • We still have two CLI tools

Add typegen stuff to atomic-cli rust

  • Is doable to rewrite logic in rust, but takes some time
  • No easy NPM install - requires cargo / binary / other packaging
  • But... we can fix that with rust-to-npm

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions