Skip to content

Add tab completion support for commands and profiles in CLI #1

Add tab completion support for commands and profiles in CLI

Add tab completion support for commands and profiles in CLI #1

Workflow file for this run

name: Release
on:
push:
branches:
- main
paths:
- 'src/**'
- 'Cargo.toml'
- 'Cargo.lock'
jobs:
release:
name: Build and release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Build release binary
run: cargo build --release
- name: Rename binary for release
run: cp target/release/penv penv-linux-x86_64
- name: Publish latest release
uses: softprops/action-gh-release@v2
with:
tag_name: latest
name: Latest
body: |
Latest build from the `main` branch.
## Installation
Download the pre-built binary directly:
```bash
mkdir -p ~/.local/bin
curl -L https://github.com/${{ github.repository }}/releases/download/latest/penv-linux-x86_64 -o ~/.local/bin/penv
chmod +x ~/.local/bin/penv
```
make_latest: true
files: penv-linux-x86_64