You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Norman Mu (JIRA)" <ji...@apache.org> on 2016/07/28 03:31:20 UTC
[jira] [Updated] (AIRFLOW-373) Enhance CLI variables functionality:
import/export/delete variables
[ https://issues.apache.org/jira/browse/AIRFLOW-373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Norman Mu updated AIRFLOW-373:
------------------------------
External issue URL: https://github.com/apache/incubator-airflow/pull/1691
> 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, --imp FILEPATH Import variables from JSON file
> -e FILEPATH, --exp FILEPATH Export variables to JSON file
> -x KEY, --delete KEY Delete a variable
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)