Skip to content

Unified command-line tools #39

@larsbutler

Description

@larsbutler

Update: I've written up a draft of a more detailed spec. It's here: https://gist.github.com/larsbutler/ac14b62ab9b5d6bf4b9b


This is more of a blueprint than a bug or issue. The goal here is to get some ideas documented and figure out how we can make command-line tools for ZeroVM which are intuitive, stable, and easy to use.

Some ideas have been put forth by members of the community to unify the ZeroVM command-line tools. They are as follows:

Here are my ideas so far, to get the conversation started:

  • The proposal has been to unify the functions of these tools into a single executable, with appropriate sub-commands and flags. Such an executable might be called zvm or zerovm.
  • It might not be appropriate to join the zerovm executable with zvsh,zvapp, and zpm. However, I think it's quite reasonable to be able to join the tools written in Python (zvsh/zvapp/zpm) to be unified under a single executable.
  • Joining zvsh/zvapp/zpm would be a good first step. Later we can decide if it makes sense to try and wrap zerovm into the same tool as well.
  • I don't think it would be appropriate to join the git repositories, and I don't think this would be necessary.
    • I think the single executable could live in https://github.com/zerovm/zerovm-cli. This should be possible with reasonable effort, because zpm has been written such that most of its functionality is abstracted into a library (zpmlib), and the command line interface is lightweight wrapper around those functions.
    • I also think https://github.com/zerovm/zerovm-cli is the correct place for this because the name zerovm-cli is appropriately generic.

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