Skip to content

Should we use only a Rust CLI for everything buddy? #54

Description

@ubiratansoares

Right now, we have two wrappers around limactl driving vm/buddy related tasks:

  • the justfile
  • the Rust CLI for credentials (which is invoked from with the justfile via cargo)

I was wondering wheter we should implement existing tasks on top of the Rust CLI only. That would allow removing just as a required dependency to get started and would gives us room for a richer CLI experience

# cargo already required, no changes here
cargo install --git https://github.com/rustfoundation/buddy

# some replacements as they are
buddy create
buddy start
buddy login

# filter the service using a CLI argument
buddy login --service fastly

# flags
buddy logout --all

# for https://github.com/rustfoundation/buddy/issues/44 
# we could render a templated `provision.sh` to drive the vm creation      
buddy create --harness claude
buddy recreate --add-tool zig

# etc 

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