Closed kysely closed 1 year ago
This PR fixes example of superface execute command that is printed as a guide after map is done so that it respects the selected language.
superface execute
map
When language for map was NOT explicitly selected
superface map <provider> <profileId>
superface execute <provider> <profileId>
When language for map was explicitly selected
superface map <provider> <profileId> python
superface execute <provider> <profileId> python
superface map <provider> <profileId> js
superface execute <provider> <profileId> js
This doesn't touch the actual language switching logic, just CLI output for better DX
Description
This PR fixes example of
superface execute
command that is printed as a guide aftermap
is done so that it respects the selected language.When language for
map
was NOT explicitly selectedsuperface map <provider> <profileId>
, the user getssuperface execute <provider> <profileId>
When language for
map
was explicitly selectedsuperface map <provider> <profileId> python
, the user getssuperface execute <provider> <profileId> python
superface map <provider> <profileId> js
, the user getssuperface execute <provider> <profileId> js
This doesn't touch the actual language switching logic, just CLI output for better DX
Motivation and Context
Types of changes
Checklist: