Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename cli tool #63

Merged
merged 2 commits into from
Jan 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
matrix:
include:
- build: linux
os: ubuntu-latest
os: ubuntu-22.04
target: x86_64-unknown-linux-gnu

- build: macos
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
shell: bash
run: |
# Replace with the name of your binary
binary_name="cli"
binary_name="fastedge-run"

dirname="$binary_name-${{ env.VERSION }}-${{ matrix.target }}"
mkdir "$dirname"
Expand Down
50 changes: 25 additions & 25 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ unused_import_braces = 'warn'
all = 'allow'

[package]
name = "cli"
name = "fastedge-run"
version.workspace = true
edition.workspace = true
publish.workspace = true
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FastEdge CLI and common runtime libraries
FastEdge run tool and common runtime libraries

# Setting up

Expand All @@ -17,11 +17,11 @@ Run `git submodule update --init --recursive -f`

## Building

Run `cargo build --release` to build CLI tool and all required dependencies.
Run `cargo build --release` to build fastedge app run tool and all required dependencies.

## Releasing

CLI tool and FastEdge lib are released with GitHub using [cargo-release](https://github.com/crate-ci/cargo-release) tool.
Fastedge run tool and FastEdge lib are released with GitHub using [cargo-release](https://github.com/crate-ci/cargo-release) tool.
The release process includes next steps:
* increment crate version in Cargo.toml
* generate CHANGELOG.md file
Expand Down Expand Up @@ -67,5 +67,5 @@ Note: It also creates a PR for `releases/**` branch to merge it to `main` as soo

# Running

## CLI
* run with `cargo run --bin cli -- --help` flag to list CLI commands and options
## Fastedge Run Tool
* run with `cargo run --bin fastedge-run -- --help` flag to list run commands and options
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ use wasmtime::component::Component;
use wasmtime::{Engine, Module};

#[derive(Debug, Parser)]
#[command(name = "cli")]
#[command(name = "fastedge-run")]
#[command(about = "FastEdge test tool", long_about = None)]
struct Cli {
#[command(subcommand)]
Expand Down
Loading