-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add version cmd, ignore bin dir * add init command, embed all config, started on binary download * output path for downloaded binaries ignored * working downloading and file extraction * added mprocs config as a stop gap, readme * small readme updates, skip download if bin already present * use localized data dir for sequencer and cometbft data * added run command, renamed bin to astria-dev * readme updates, run cmd init checking print improvements * typo fix * readme updates * revert module naming * reorg of commands to be sub commands of dev * move embedded files to config dir * status prints added to embedded file recreation * conditional compilation for different os and arch * removed just and mprocs deps * add run check for rollup rpc port for composer * small error print and readme updates * cleanup of initialize check, added linux support * add fmt to justfile * default dir changed to ~/.astria * env cleanup * force stdout for sequencer * initial tview ui * add default just command * added running cometbft to tview ui * added conductor and composer to tview ui * cmd definitions moved outside of go routines to allow for sigint capture * removed sleeps, added channel waits * added clean cmd for removing local cometbft and sequencer data * added clear all command * added word wrap and removal of ansi escape characters view toggle * remove testing text color print * ansi escape character now parsed * cleanup and comment updates * added basic help bar at bottom * added ability to select app and jump in and out of fullscreen * prevent focus change when in fullscreen * typo fixes * update just commands * readme updates, disable completion command * small readme update, added fullscreen specific help bar * added arrow key and mouse scrolling to fullscreen view * updates to autoscroll setting, add stderr capture to sequencer * cleaned up appendText function, updated justfile to capture tview logs, added pskill command to justfile * add stderr capture to output * justfile comments * App and ProcessRunner structs * todo * settings status display updated, added basic help page * filled out main help page * action keys are no longer case sensitive * added more to help window * added boarderless logs option * fixed border typo * comment * slight reorg. comments. * refactor processrunner. contexts. * getters * SetInputCapture, stop, word wrap * keyboard shortcuts for selecting panes, fullscreen, exit * comment * more clear pattern for ui state * autoscroll and notes * comments. cruft. * words * add command for sequencer create account (#6) * add command for sequencer create account * name devtools package * move error handling to command code. test. * descriptions and comment cleanup. * justfile help docstrings. test command. * remove autocorrect fail * add github action to test go code * remove cruft * Feature: gh actions (#2) * gh actions * fix github actions * fix package name * Feat/adds tests (#9) * add "t" as alias for "test" in justfile * refactor to be more testable. ProcessRunner interface and mock. * "pscheck" just command to check for leftover astria processes * more tests * merge main * cleanup func. doc comment. * move version to root of cmd * reorganize clean command * naming conventions * Relocate Cometbft Initialization (#10) * moved cometbft setup from run cmd to init cmd * fmt.Println formating fix * added borderless logs toggle when in full screen * added borderless logs toggle when in full screen (#16) --------- Co-authored-by: Sam Bukowski <[email protected]>
- Loading branch information
1 parent
600e8ff
commit c65c3ed
Showing
29 changed files
with
1,756 additions
and
288 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Project | ||
|
||
on: | ||
issues: | ||
types: | ||
- opened | ||
|
||
jobs: | ||
add-to-project: | ||
name: Add new issues | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
project-url: https://github.com/orgs/astriaorg/projects/1 | ||
github-token: ${{ secrets.ASTRIA_PROJECT_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
on: | ||
release: | ||
types: [created] | ||
|
||
permissions: | ||
contents: write | ||
packages: write | ||
|
||
jobs: | ||
releases-matrix: | ||
name: Release Go Binary | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
goos: [linux, darwin] | ||
goarch: [amd64, arm64] | ||
exclude: | ||
- goarch: "arm64" | ||
goos: "linux" | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: wangyoucao577/go-release-action@v1 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
goos: ${{ matrix.goos }} | ||
goarch: ${{ matrix.goarch }} | ||
project_path: "./" | ||
binary_name: "astria-cli" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Test | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- "main" | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Use Go 1.21.3 | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.21.3 | ||
cache-dependency-path: ./go.sum | ||
- name: Test | ||
run: go test ./... |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
//go:build darwin && amd64 | ||
|
||
package cmd | ||
package devtools | ||
|
||
// Your code here | ||
type Binary struct { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
//go:build darwin && arm64 | ||
|
||
package cmd | ||
package devtools | ||
|
||
// Your code here | ||
type Binary struct { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
//go:build linux && amd64 | ||
|
||
package cmd | ||
package devtools | ||
|
||
// Your code here | ||
type Binary struct { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.