We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When running koi scripts, currently cannot run scripts with source. Seems like the issue is in __parseargs. Here's an example:
source
__parseargs
Source:
#!/bin/bash set -e source koi koiname=set_env.sh koidescription="Set up a virtualenv" function __koimain { __addarg "-h" "--help" "help" "optional" "" "set up virtualenv" __addarg "" "environment" "positionalvalue" "required" "" "name of environmental variable" __parseargs "$@" echo "$environment" source "./Documents/virtualenvs/${environment}/bin/activate" cd "Documents/${environment}" } __koirun "$@"
Running it:
source set_env.sh --help
__action=help __action=positionalvalue __parseargs:51: bad substitution [Process completed]
The text was updated successfully, but these errors were encountered:
wcarhart
No branches or pull requests
When running koi scripts, currently cannot run scripts with
source
. Seems like the issue is in__parseargs
. Here's an example:Source:
Running it:
The text was updated successfully, but these errors were encountered: