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

Allow mint run to drop the executable name #159

Merged
merged 2 commits into from
Feb 9, 2020
Merged

Conversation

yonaskolb
Copy link
Owner

@yonaskolb yonaskolb commented Feb 6, 2020

Fixes #145

This allows mint run to drop the executable name. It still supports it if specified. With packages with multiple executables it can still be specified, or a new --executable argument can be used in case the first arguments passed to the executable matches the executable

All of these work

mint run realm/SwiftLint
mint run realm/SwiftLint autocorrect
mint run swiftlint
mint run swiftLint autocorrect
mint run swiftLint swiftlint autocorrect #for backwards compatability
mint run --executable swiftlint realm/SwiftLint autocorrect

@yonaskolb yonaskolb merged commit 2636413 into master Feb 9, 2020
@yonaskolb yonaskolb deleted the auto_executable branch February 9, 2020 03:59
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.

Required to type command twice when attempting to execute a subcommand
1 participant