-
Notifications
You must be signed in to change notification settings - Fork 2
feat: support multiple commands and multiple binaries in aliases #130
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
lima-limon-inc
wants to merge
15
commits into
fabrizioorsi/i123-active-toolchain-bug
Choose a base branch
from
fabrizioorsi/i129-multiple-commands
base: fabrizioorsi/i123-active-toolchain-bug
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
516a0db
docs: update alias documentation
lima-limon-inc 04d1168
feat: (WIP) multiple commands in aliases
lima-limon-inc a5cf7f1
feat: update aliases in manifests with new multiple command format
lima-limon-inc c168571
feat: add positional argument variant to CliCommand
lima-limon-inc a610e0a
feat: add aliases field to Channel
lima-limon-inc 502a1b9
feat: add SpecificExecutable CliCommand variant
lima-limon-inc 2d5bf6c
feat: add channel aliases in get_aliases function
lima-limon-inc 15a6892
refactor: CliCommand::Executable now requires the name of the executa…
lima-limon-inc eef366c
refactor: remove Component element from MidenArgument::Alias
lima-limon-inc 39a810e
chore: update present manifests
lima-limon-inc cb45153
feat: take into account global aliases when resolving command
lima-limon-inc 46bfd7c
feat: add `Aliases` typedef
lima-limon-inc b5a1f6e
chore: udpate docs
lima-limon-inc f475c0b
chore: remove duplicate test
lima-limon-inc b72b0d6
fix: add component name to get_call_format
lima-limon-inc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not too fond of
ExecutableandVarPathdepending implicitly on the following CliCommand on the manifest.I believe these two could be refactored so that all the required arguments are on the same enum variant.
Like so:
pub enum CliCommand { (...) Executable { component_name: String }, (...)This would change the way
CliCommandis serialized, but I think encapsulating all the required component into a single variant would a win in the long run.