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 jbang catalog #54

Closed
wants to merge 1 commit into from
Closed
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ The CLI can be run with [jbang](https://www.jbang.dev/download/).
curl -Ls https://sh.jbang.dev | bash -s - app setup

#Install Jlama CLI (will ask if you trust the source)
jbang app install -j 21 --name=jlama --force https://raw.githubusercontent.com/tjake/Jlama/main/jlama.java
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to state Java 21 here as script now requires it. You can still add it if you want to try with higher Java version.

Also name is redundant as it would derive it from the file name anyway.

jbang app install --force jlama@tjake

#Run the CLI
jlama
Expand Down
9 changes: 9 additions & 0 deletions jbang-catalog.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"catalogs": {},
"aliases": {
"jlama": {
"script-ref": "jlama.java",
"java-agents": []
}
}
}
21 changes: 0 additions & 21 deletions jlama.java

This file was deleted.