#development-tools #vector #cli

app vdev

CLI utilities for Vector (vector.dev) development and CI workflows

1 unstable release

Uses new Rust 2024

0.1.0 Sep 2, 2025

#853 in Command line utilities

Download history 96/week @ 2025-08-29 86/week @ 2025-09-05 126/week @ 2025-09-12 53/week @ 2025-09-19 243/week @ 2025-09-26 108/week @ 2025-10-03 323/week @ 2025-10-10 234/week @ 2025-10-17 330/week @ 2025-10-24 117/week @ 2025-10-31

1,042 downloads per month

MPL-2.0 license

150KB
3.5K SLoC

vdev


This is the command line tooling for Vector development.

Table of Contents:

Pre-requisites

This assumes that you have the following tools installed:

Installation

Run the following command from the root of the Vector repository:

cargo install -f --path vdev

Configuration

Repository

Setting the path to the repository explicitly allows the application to be used at any time no matter the current working directory.

vdev config set repo .

To test, enter your home directory and then run:

vdev exec ls

Starship

A custom command for the Starship prompt is available.

format = """
...
${custom.vdev}\
...
$line_break\
...
$character"""

# <clipped>

[custom.vdev]
command = "vdev meta starship"
when = true
# Windows
# shell = ["cmd", "/C"]
# Other
# shell = ["sh", "--norc"]

CLI

The CLI uses Clap with the derive construction mechanism and is stored in the commands directory.

Every command group/namespace has its own directory with a cli module, including the root vdev command group. All commands have an exec method that provides the actual implementation, which in the case of command groups will be calling sub-commands.

Running Tests

Unit tests can be run by calling cargo vdev test.

Integration tests are not run by default when running cargo vdev test. Instead, they are accessible via the integration subcommand (example: cargo vdev int test aws runs aws-related integration tests). You can find the list of available integration tests using cargo vdev int show. Integration tests require docker or podman to run.

Dependencies

~26–45MB
~780K SLoC