Skip to content
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
21 changes: 1 addition & 20 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ jobs:
build:
runs-on: ubuntu-latest

env:
GOPRIVATE: github.com/e2engine/*

steps:
- name: Checkout
uses: actions/checkout@v7
Expand All @@ -22,12 +19,6 @@ jobs:
with:
go-version: stable

- name: Configure private modules
run: |
git config --global \
url."https://x-access-token:${{ secrets.E2ENGINE_READ_TOKEN }}@github.com/".insteadOf \
"https://github.com/"

- name: Verify
run: make verify

Expand All @@ -44,9 +35,6 @@ jobs:
needs: build
runs-on: ubuntu-latest

env:
GOPRIVATE: github.com/e2engine/*

steps:
- name: Checkout CLI
uses: actions/checkout@v7
Expand All @@ -56,22 +44,15 @@ jobs:
with:
go-version: stable

- name: Configure private modules
run: |
git config --global \
url."https://x-access-token:${{ secrets.E2ENGINE_READ_TOKEN }}@github.com/".insteadOf \
"https://github.com/"

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4

- name: Checkout E2Engine tests
uses: actions/checkout@v7
with:
repository: e2engine/tests
ref: v0.0.3
ref: stable
path: e2engine-tests
token: ${{ secrets.E2ENGINE_READ_TOKEN }}

- name: Run E2E tests
run: |
Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ jobs:
goreleaser:
runs-on: ubuntu-latest

env:
GOPRIVATE: github.com/e2engine/*

steps:
- uses: actions/checkout@v7
with:
Expand All @@ -27,12 +24,6 @@ jobs:
with:
go-version: stable

- name: Configure private modules
run: |
git config --global \
url."https://x-access-token:${{ secrets.E2ENGINE_READ_TOKEN }}@github.com/".insteadOf \
"https://github.com/"

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4

Expand Down
51 changes: 32 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,46 @@ Command-line interface for E2Engine.

This module provides the E2Engine command-line application for creating, validating, listing, inspecting, deleting, and running E2Engine resources using local E2Engine services.

## Build
## Installation

### macOS

Install E2Engine using Homebrew:

```bash
make build-cli
brew install --cask e2engine/tap/e2engine
```

## Packages
### Linux

**cmd/cli**
Download the appropriate .deb or .rpm package for your architecture from the [latest GitHub release](https://github.com/e2engine/cli/releases/latest).

E2Engine CLI entry point and Cobra command definitions.
Debian/Ubuntu:

**internal/command**
```bash
sudo apt install ./e2engine_*.deb
```

Command handlers for E2Engine resources and operations.
Fedora/RHEL:

**internal/service**
```bash
sudo dnf install ./e2engine_*.rpm
```

CLI service construction and integration with E2Engine Core and persistence implementations.
### Windows

**internal/output**
Install E2Engine using Scoop:

Output configuration and rendering used by CLI commands.
```powershell
scoop bucket add e2engine https://github.com/e2engine/scoop-bucket
scoop install e2engine
```

**internal/runnerprocess**
## Build

Local runner process lifecycle and launching.
```bash
make build-cli
```

## Development

Expand Down Expand Up @@ -62,12 +75,12 @@ make verify

This repository is part of E2Engine.

- core — core domain model, execution logic, and public APIs
- repository — persistence implementations
- runner-local — local test execution
- cli — command-line interface
- tests — end-to-end tests for E2Engine
- demo — executable demonstration system and E2Engine examples
- [core](https://github.com/e2engine/core) — core domain model, execution logic, and public APIs
- [repository](https://github.com/e2engine/repository) — persistence implementations
- [runner-local](https://github.com/e2engine/runner-local) — local test execution
- [cli](https://github.com/e2engine/cli) — command-line interface
- [tests](https://github.com/e2engine/tests) — end-to-end tests for E2Engine
- demo — executable demonstration system and E2Engine usage examples

## License

Expand Down
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ module github.com/e2engine/cli
go 1.27

require (
github.com/e2engine/core v0.0.1
github.com/e2engine/repository v0.0.1
github.com/e2engine/runner-local v0.0.1
github.com/e2engine/core v0.1.0
github.com/e2engine/repository v0.1.0
github.com/e2engine/runner-local v0.1.0
github.com/spf13/cobra v1.10.2
github.com/ygrebnov/config v0.4.3
github.com/ygrebnov/errorc v0.6.1
Expand All @@ -14,6 +14,7 @@ require (
github.com/ygrebnov/model v0.7.5
github.com/ygrebnov/render v0.0.1
go.uber.org/mock v0.6.0
gopkg.in/yaml.v3 v3.0.1
)

require (
Expand All @@ -37,7 +38,6 @@ require (
google.golang.org/genproto/googleapis/rpc v0.0.0-20260928230214-8a89bd6388cc // indirect
google.golang.org/grpc v1.84.0 // indirect
google.golang.org/protobuf v1.36.12 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
modernc.org/libc v1.77.1 // indirect
modernc.org/mathutil v1.7.1 // indirect
modernc.org/memory v1.12.1 // indirect
Expand Down
12 changes: 6 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/dustin/go-humanize v1.1.0 h1:dbKTrvD0klcbBV/h4AWJdMuZogJACoMlvWIWZ5b2xWg=
github.com/dustin/go-humanize v1.1.0/go.mod h1:hc1CvRkJMsgxqjmjMQF3QNRAZBwY8AXBAzKYoSX9sFI=
github.com/e2engine/core v0.0.1 h1:UFrlgzKTr/FUJd10XO2Lpi4Tk0wuB1Tldv6w3EDi8mA=
github.com/e2engine/core v0.0.1/go.mod h1:EDzClKKllCF5U/iv2Trk7MODOk2pfURXDAi8NiTvXeU=
github.com/e2engine/repository v0.0.1 h1:Mi/mvgHSmuTu1YECDYX9IsPZWvmFhjaVsqy7A0Lm02A=
github.com/e2engine/repository v0.0.1/go.mod h1:S3ynnOFvs/cAH3Amo4ojF3skkiwlT9kXRKfx6OFPWf4=
github.com/e2engine/runner-local v0.0.1 h1:4svjW0daDF6wIFxMmk83Y9NJ7d0A1VVERnJLlKZayEw=
github.com/e2engine/runner-local v0.0.1/go.mod h1:46FgoNw22MCL7xv6ZKXFP8JeEc32BniM0qqCbgTzXss=
github.com/e2engine/core v0.1.0 h1:gCnHAVbK0635C6w9N2rC0PLi9PWh0SJLQNDkKarxpBw=
github.com/e2engine/core v0.1.0/go.mod h1:EDzClKKllCF5U/iv2Trk7MODOk2pfURXDAi8NiTvXeU=
github.com/e2engine/repository v0.1.0 h1:t2/Y8jeJVUqxZNHPKpuv0pBjXhImpncSGmbhnD1cu3U=
github.com/e2engine/repository v0.1.0/go.mod h1:nb2/Q0s/56N551339ytLLLdm/fIU1UllFcJgONe/v/g=
github.com/e2engine/runner-local v0.1.0 h1:00EebnT+8mCgYMPjB1fu7kGdCS76TyWiOqyF8u8Y1+Q=
github.com/e2engine/runner-local v0.1.0/go.mod h1:HCm3ZQbHlMnmS/H/xFv28HMCCYpwWrrV943T8Jzu9Ac=
github.com/golang-migrate/migrate/v4 v4.20.1 h1:2N/ToVTKrKl58ynBpgeVJ4In7VcLCjWTZtm4eP1LxhU=
github.com/golang-migrate/migrate/v4 v4.20.1/go.mod h1:DDPgKVb4ovSWc4FwSPfV2Uz1160f4XBiTHTrAJtljmM=
github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
Expand Down
Loading