10000 add arkade to cross platform package providers by rgee0 · Pull Request #2700 · casey/just · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

add arkade to cross platform package providers #2700

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rgee0
Copy link
@rgee0 rgee0 commented Apr 8, 2025

Update to the readme to highlight that just is also available via arkade

Signed-off-by: Richard Gee <richard@technologee.co.uk>
@casey
Copy link
Owner
casey commented Apr 10, 2025

Is there a direct link you can use for the just package? Even pointing to the package definition file for just in the repo would be good.

I actually also think we should probably put this in a different section than Cross-Platform. Although it is cross-platform, it seems like it's more specialized to people who use kubernetes, and not a general cross-platform way for people to install just. What do you think?

@rgee0
Copy link
Author
rgee0 commented Apr 11, 2025

Is there a direct link you can use for the just package? Even pointing to the package definition file for just in the repo would be good.

I struggled with what to do here as arkade doesn't function in this way for CLIs.

I actually also think we should probably put this in a different section than Cross-Platform. Although it is cross-platform, it seems like it's more specialized to people who use kubernetes, and not a general cross-platform way for people to install just. What do you think?

Yes, and no. Parts of arkade are about apps for Kubernetes, but the cli section is for people to install CLIs wherever they choose.

I added it into the cross platform section because arkade is available across mac / linux / win and it will determine the appropriate package to install when a arkade get just is run.

As an example:

  • Update arkade
~ arkade update
Downloading: https://github.com/alexellis/arkade/releases/download/0.11.38/arkade-darwin-arm64
10.19 MiB / 10.19 MiB [------------------------------] 100.00%
Checksum verified..OK.
Replaced: /usr/local/bin/arkade..OK.

 👏 Say thanks for arkade and sponsor Alex via GitHub: https://github.com/sponsors/alexellis
  • Install just
~ arkade get just
Downloading: just
2025/04/11 08:17:22 Looking up version for: just
2025/04/11 08:17:22 Found: 1.40.0
Downloading: https://github.com/casey/just/releases/download/1.40.0/just-1.40.0-aarch64-apple-darwin.tar.gz
1.58 MiB / 1.58 MiB [------------------------------] 100.00%
/var/folders/22/3b_f27kj3s37lbfqz_fq44jw0000gp/T/arkade-2616405705/just-1.40.0-aarch64-apple-darwin.tar.gz written.
2025/04/11 08:17:23 Extracted: /var/folders/22/3b_f27kj3s37lbfqz_fq44jw0000gp/T/arkade-2616405705/just
2025/04/11 08:17:23 Copying /var/folders/22/3b_f27kj3s37lbfqz_fq44jw0000gp/T/arkade-2616405705/just to /Users/rgee0/.arkade/bin/just

Wrote: /Users/rgee0/.arkade/bin/just (3.773MB)

# Add arkade binary directory to your PATH variable
export PATH=$PATH:$HOME/.arkade/bin/

# Test the binary:
/Users/rgee0/.arkade/bin/just

# Or install with:
sudo mv /Users/rgee0/.arkade/bin/just /usr/local/bin/

👏 Say thanks for arkade and sponsor Alex via GitHub: https://github.com/sponsors/alexellis
  • run just
~ just --help
🤖 Just a command runner - https://github.com/casey/just

Usage: just [OPTIONS] [ARGUMENTS]...

Arguments:
  [ARGUMENTS]...  Overrides and recipe(s) to run, defaulting to the first recipe in the justfile

Options:
      --alias-style <ALIAS_STYLE>              Set list command alias display style [env: JUST_ALIAS_STYLE=] [default: right] [possible values: left, right,
                                               separate]
      --check                                  Run `--fmt` in 'check' mode. Exits with 0 if justfile is formatted correctly. Exits with 1 and prints a diff if
                                               formatting is required.
      --chooser <CHOOSER>                      Override binary invoked by `--choose` [env: JUST_CHOOSER=]
      --clear-shell-args                       Clear shell arguments
      --color <COLOR>                          Print colorful output [env: JUST_COLOR=] [default: auto] [possible values: always, auto, never]
      --command-color <COMMAND-COLOR>          Echo recipe lines in <COMMAND-COLOR> [env: JUST_COMMAND_COLOR=] [possible values: black, blue, cyan, green,
                                               purple, red, yellow]
      --dotenv-filename <DOTENV-FILENAME>      Search for environment file named <DOTENV-FILENAME> instead of `.env`
  -E, --dotenv-path <DOTENV-PATH>              Load <DOTENV-PATH> as environment file instead of searching for one
  -n, --dry-run                                Print what just would do without doing it [env: JUST_DRY_RUN=]
      --dump-format <FORMAT>                   Dump justfile as <FORMAT> [env: JUST_DUMP_FORMAT=] [default: just] [possible values: json, just]
      --explain                                Print recipe doc comment before running it [env: JUST_EXPLAIN=]
  -g, --global-justfile                        Use global justfile
      --highlight                              Highlight echoed recipe lines in bold [env: JUST_HIGHLIGHT=]
  -f, --justfile <JUSTFILE>                    Use <JUSTFILE> as justfile [env: JUST_JUSTFILE=]
      --list-heading <TEXT>                    Print <TEXT> before list [env: JUST_LIST_HEADING=] [default: "Available recipes:\n"]
      --list-prefix <TEXT>                     Print <TEXT> before each list item [env: JUST_LIST_PREFIX=] [default: "    "]
      --list-submodules                        List recipes in submodules [env: JUST_LIST_SUBMODULES=]
      --no-aliases                             Don't show aliases in list [env: JUST_NO_ALIASES=]
      --no-deps                                Don't run recipe dependencies [env: JUST_NO_DEPS=]
      --no-dotenv                              Don't load `.env` file [env: JUST_NO_DOTENV=]
      --no-highlight                           Don't highlight echoed recipe lines in bold [env: JUST_NO_HIGHLIGHT=]
      --one                                    Forbid multiple recipes from being invoked on the command line [env: JUST_ONE=]
  -q, --quiet                                  Suppress all output [env: JUST_QUIET=]
      --allow-missing                          Ignore missing recipe and module errors [env: JUST_ALLOW_MISSING=]
      --set <VARIABLE> <VALUE>                 Override <VARIABLE> with <VALUE>
      --shell <SHELL>                          Invoke <SHELL> to run recipes
      --shell-arg <SHELL-ARG>                  Invoke shell with <SHELL-ARG> as an argument
      --shell-command                          Invoke <COMMAND> with the shell used to run recipe lines and backticks
      --timestamp                              Print recipe command timestamps [env: JUST_TIMESTAMP=]
      --timestamp-format <TIMESTAMP-FORMAT>    Timestamp format string [env: JUST_TIMESTAMP_FORMAT=] [default: %H:%M:%S]
  -u, --unsorted                               Return list and summary entries in source order [env: JUST_UNSORTED=]
      --unstable                               Enable unstable features [env: JUST_UNSTABLE=]
  -v, --verbose...                             Use verbose output [env: JUST_VERBOS
772A
E=]
  -d, --working-directory <WORKING-DIRECTORY>  Use <WORKING-DIRECTORY> as working directory. --justfile must also be set [env: JUST_WORKING_DIRECTORY=]
      --yes                                    Automatically confirm all recipes. [env: JUST_YES=]
  -h, --help                                   Print help
  -V, --version                                Print version

Commands:
      --changelog             Print changelog
      --choose                Select one or more recipes to run using a binary chooser. If `--chooser` is not passed the chooser defaults to the value of
                              $JUST_CHOOSER, falling back to `fzf`
  -c, --command <COMMAND>...  Run an arbitrary command with the working directory, `.env`, overrides, and exports set
      --completions <SHELL>   Print shell completion script for <SHELL> [possible values: bash, elvish, fish, nushell, powershell, zsh]
      --dump                  Print justfile
  -e, --edit                  Edit justfile with editor given by $VISUAL or $EDITOR, falling back to `vim`
      --evaluate              Evaluate and print all variables. If a variable name is given as an argument, only print that variable's value.
      --fmt                   Format and overwrite justfile
      --groups                List recipe groups
      --init                  Initialize new justfile in project root
  -l, --list [<MODULE>...]    List available recipes in <MODULE> or root if omitted
      --man                   Print man page
  -s, --show <PATH>...        Show recipe at <PATH>
      --summary               List names of available recipes
      --variables             List names of variables

Hopefully this adds some context. Happy to take a steer from you on where to go with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0