[
https://issues.apache.org/jira/browse/AIRFLOW-4749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
t oo updated AIRFLOW-4749:
--------------------------
Description:
h3. [connections|https://airflow.apache.org/cli.html#id30]
List/Add/Delete connections
If i try to add a connection in airflow cli and my password starts with dash
(aka hypen, minus symbol) . ie -abc
it gives an error about only one argument allowed for --conn_password
some background:
[https://stackoverflow.com/questions/16174992/cant-get-argparse-to-read-quoted-string-with-dashes-in-it]
note my password reeally does start with -
was:
h3. [connections|https://airflow.apache.org/cli.html#id30]
List/Add/Delete connections
If i try to add a connection in airflow cli and my password starts with dash.
ie -abc
it gives an error about only one argument allowed for --conn_password
some background:
[https://stackoverflow.com/questions/16174992/cant-get-argparse-to-read-quoted-string-with-dashes-in-it]
note my password reeally does start with -
> airflow connections cli - --conn_password does not allow passwords starting
> with dash
> -------------------------------------------------------------------------------------
>
> Key: AIRFLOW-4749
> URL: https://issues.apache.org/jira/browse/AIRFLOW-4749
> Project: Apache Airflow
> Issue Type: Improvement
> Components: cli
> Affects Versions: 1.10.3
> Environment: python 2.7.15
> Reporter: t oo
> Priority: Major
>
> h3. [connections|https://airflow.apache.org/cli.html#id30]
> List/Add/Delete connections
>
>
> If i try to add a connection in airflow cli and my password starts with dash
> (aka hypen, minus symbol) . ie -abc
> it gives an error about only one argument allowed for --conn_password
>
> some background:
> [https://stackoverflow.com/questions/16174992/cant-get-argparse-to-read-quoted-string-with-dashes-in-it]
>
> note my password reeally does start with -
--
This message was sent by Atlassian Jira
(v8.3.4#803005)