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

feat: add pack --list subcommand to Ya CLI #1110

Merged
merged 3 commits into from
Jun 1, 2024
Merged

feat: add pack --list subcommand to Ya CLI #1110

merged 3 commits into from
Jun 1, 2024

Conversation

lpnh
Copy link
Contributor

@lpnh lpnh commented May 31, 2024

Add -l, --list flags to the ya pack command.

It prints a list of the currently installed packages as specified in the package.toml file.

Result:

ya pack --list
plugin:
	dedukun/relative-motions
	DreamMaoMao/mime
flavor:

ya pack --help
Manage packages

Usage: ya pack [OPTIONS]

Options:
  -a, --add <ADD>  Add a package
  -i, --install    Install all packages
  -l, --list       List all installed packages
  -u, --upgrade    Upgrade all packages
  -h, --help       Print help

The implementation is probably very naive. I'm open to any feedback.

lpnh and others added 2 commits June 1, 2024 12:08
@sxyazi sxyazi changed the title feat(cli): add --list to pack command feat: add pack --list subcommand to Ya CLI Jun 1, 2024
Copy link
Owner

@sxyazi sxyazi left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@sxyazi sxyazi merged commit add801f into sxyazi:main Jun 1, 2024
6 checks passed
@lpnh lpnh deleted the feat branch June 1, 2024 16:35
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants