wash icon indicating copy to clipboard operation
wash copied to clipboard

[FEATURE] wash contexts should be able to be referenced by name instead of path

Open protochron opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. When you provide a --context flag, it expects the value to be the full path to a context file. This is confusing because we have named contexts available, and it would be easier to be able to load them by name similar to how kubectl handles it.

Describe the solution you'd like The --context flag should load contexts by name instead of by path.

protochron avatar May 17 '22 19:05 protochron

I think I did this so that you could specify a context file not under ~/.wash/contexts, though I agree that the context should be specified with a name and an option like that could be --context-path or to specify a --context-dir or something like that.

Just in case that was unclear, totally in favor of this 👍🏻

brooksmtownsend avatar May 17 '22 21:05 brooksmtownsend

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this has been closed too eagerly, please feel free to tag a maintainer so we can keep working on the issue. Thank you for contributing to wasmCloud!

stale[bot] avatar May 17 '23 17:05 stale[bot]