airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-373) Enhance CLI variables functionality: import/export/delete variables
Date Fri, 29 Jul 2016 00:08:20 GMT

    [ https://issues.apache.org/jira/browse/AIRFLOW-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15398472#comment-15398472
] 

ASF subversion and git services commented on AIRFLOW-373:
---------------------------------------------------------

Commit 38458989009a9708b20f8e77f8e1244a3261cddb in incubator-airflow's branch refs/heads/master
from [~normster]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=3845898 ]

[AIRFLOW-373] Enhance CLI variables functionality

Add export/import to/from json file option for CLI variable command.
Add delete variable option for CLI variable command.


> Enhance CLI variables functionality: import/export/delete variables
> -------------------------------------------------------------------
>
>                 Key: AIRFLOW-373
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-373
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: cli
>    Affects Versions: Airflow 1.7.1.3
>            Reporter: Norman Mu
>            Assignee: Norman Mu
>            Priority: Minor
>
> Added import, export, delete subcommands to CLI variable commands
> usage: airflow variables [-h] [-s KEY VAL] [-g KEY] [-j] [-d VAL] [-i FILEPATH]
>                          [-e FILEPATH] [-x KEY]
> optional arguments:
>   -h, --help            show this help message and exit
>   -s KEY VAL, --set KEY VAL
>                         Set a variable
>   -g KEY, --get KEY     Get value of a variable
>   -j, --json            Deserialize JSON variable
>   -d VAL, --default VAL
>                         Default value returned if variable does not exist
>   -i FILEPATH, --import FILEPATH     Import variables from JSON file
>   -e FILEPATH, --export FILEPATH     Export variables to JSON file
>   -x KEY, --delete KEY  Delete a variable



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message