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

Add freeze command #15

Merged
merged 16 commits into from
Feb 20, 2024
Merged

Add freeze command #15

merged 16 commits into from
Feb 20, 2024

Conversation

sebastianrath
Copy link
Member

@sebastianrath sebastianrath commented Feb 19, 2024

This PR introduces a new command called freeze, used to create self-containing executables from graphs. Usage:

$ graph-runner freeze my-http-graphl.yml --output ./http
Actionforge Graph Runner (alpha)
Downloading graph-runner from refs/heads/main
⠋  (49 kB, 736 kB/s) [0s] Unzipping graph-runner
Getting go release info
Downloading go1.22.0 from https://go.dev/dl/go1.22.0.darwin-arm64.tar.gz
 100% |████████████████████████████| (67/67 MB, 9.3 MB/s)        
Untarring go
Building binary
🚀 Binary written to /Users/sebastian/Desktop/http

In addition, this PR also removes the run command. Instead the base command will be now used to run graphs directly:

  graph-runner [filename] [flags]
  graph-runner [command]

Example

graph-runner foo.yml

@sebastianrath sebastianrath added the enhancement New feature or request label Feb 19, 2024
@sebastianrath sebastianrath self-assigned this Feb 19, 2024
@sebastianrath sebastianrath merged commit 7c44a9c into main Feb 20, 2024
1 check passed
@sebastianrath sebastianrath deleted the freeze branch February 20, 2024 03:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant