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

feature: Adapt -a/--all option for archives command #83

Merged
merged 3 commits into from
Dec 20, 2022

Conversation

jcs090218
Copy link
Member

You can now use

$ eask archives --all

to list out all archives that are available!

Example output:

...

List all available archives:

  gnu           https://elpa.gnu.org/packages/                    0
  nongnu        https://elpa.nongnu.org/nongnu/                   0
  celpa         https://celpa.conao3.com/packages/                0
  jcs-elpa      https://jcs-emacs.github.io/jcs-elpa/packages/    0
  marmalade     https://marmalade-repo.org/packages/              0
  melpa         https://melpa.org/packages/                       0
  melpa-stable  https://stable.melpa.org/packages/                0
  org           https://orgmode.org/elpa/                         0
  shmelpa       https://shmelpa.commandlinesystems.com/packages/  0

(Total of 9 archives available)

@jcs090218 jcs090218 added the enhancement New feature or request label Dec 20, 2022
@jcs090218 jcs090218 changed the title feature: Adapat -a/--all option for archives command feature: Adapat -a/--all option for archives command Dec 20, 2022
@jcs090218 jcs090218 changed the title feature: Adapat -a/--all option for archives command feature: Adapt -a/--all option for archives command Dec 20, 2022
(eask-info "(Total of %s available script%s)" (length keywords)
(eask--sinr keywords "" "s"))))
(eask-info "(Total of %s available script%s)" (length keys)
(eask--sinr keys "" "s"))))
Copy link
Member Author

Choose a reason for hiding this comment

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

Just renaming these variables

  • keywords -> keys
  • keyword -> key

@@ -34,6 +34,7 @@ cd "./test/mini.emacs.pkg/"
echo "Testing local commands..."
eask info
eask archives
eask archives --all
Copy link
Member Author

Choose a reason for hiding this comment

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

Add test.

@jcs090218 jcs090218 merged commit 0c829ea into master Dec 20, 2022
@jcs090218 jcs090218 deleted the feature/command-archives-a branch December 20, 2022 07:41
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.

1 participant