8000 GitHub - gevulotnetwork/gvltctl: Gevulot Control CLI
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

gevulotnetwork/gvltctl

Repository files navigation

Gevulot Control CLI

This tool is used to interact with Gevulot Network.

Installation

Pre-built releases

You can download pre-built release binaries from releases:

Supported platforms:

  • x86_64-unknown-linux-gnu
  • x86_64-apple-darwin
  • aarch64-apple-darwin

Installation of pre-built release

  1. Download archive

    curl -fLO https://github.com/gevulotnetwork/gvltctl/releases/download/${VERSION}/gvltctl-${PLATFORM}.tar.gz
  2. (Optional) Verify checksum

    curl -fLO https://github.com/gevulotnetwork/gvltctl/releases/download/${VERSION}/gvltctl-${PLATFORM}.tar.gz.sha256
    sha256sum -c gvltctl-${PLATFORM}.tar.gz.sha256
  3. Install the binary

      tar xf gvltctl-${PLATFORM}.tar.gz
      cp gvltctl-${PLATFORM}/gvltctl $HOME/.local/bin

Compiling from sources

To compile gvltclt crate you will need following dependencies:

cargo install --git https://github.com/gevulotnetwork/gvltctl.git --tag $VERSION

Runtime dependencies

To use gvltctl install following dependencies:

  • ca-certificates

gvltctl build

gvltctl build needs additional dependencies.

To operate on containers:

  • podman or docker (see --container-backend option)

To build Linux kernel from sources (not needed if using pre-compiled kernel with --kernel-file):

  • git build-essential libncurses-dev gawk flex bison openssl libssl-dev dkms libelf-dev libudev-dev libpci-dev libiberty-dev autoconf llvm bc

To use EXT4 as root filesystem inside VM (see --root-fs-type option):

  • e2fsprogs

To mount VM filesystem using FUSE (see --fuse option):

  • fuse2fs

To build VM image from scratch without using base image (see --from-scratch option):

  • syslinux

gvltctl local-run

gvltctl local-run needs additional dependencies:

  • qemu-system-x86_64

Usage

$ gvltctl --help
Gevulot Control CLI

Usage: gvltctl [OPTIONS] <COMMAND>

Commands:
  worker               Commands related to workers
  pin                  Commands related to pins
  task                 Commands related to tasks
  workflow             Commands related to workflows
  keygen               Generate a new key
  compute-key          Compute a key
  send                 Send tokens to a receiver on the Gevulot network
  account-info         Get the balance of the given account
  generate-completion  Generate shell completion scripts
  sudo                 Perform administrative operations with sudo privileges
  build                Build a VM image from a container, rootfs directory, or Containerfile
  local-run            Run VM locally
  help                 Print this message or the help of the given subcommand(s)

Options:
  -F, --format <FORMAT>  Sets the output format [env: GEVULOT_FORMAT=] [default: yaml] [possible values: yaml, json, prettyjson, toml]
  -h, --help             Print help
  -V, --version          Print version

Supported platforms

gvltctl is supported on both Linux and MacOS (Windows is not tested, but probably also works).

About

Gevulot Control CLI

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Contributors 6

Languages

0