Python wrapper for asana. Requires Python 3.6+.
pip3 install --upgrade asana-cli
$ asana Usage: asana [OPTIONS] COMMAND [ARGS]... Examples: asana list workspaces asana list projects --workspace="Personal Projects" asana list tasks --workspace="Personal Projects" --project="Test" asana list sections --workspace="Personal Projects" --project="Test" asana list tasks --workspace="Personal Projects" --project="Test" --section="Column 1" asana delete tasks --workspace="Personal Projects" --project="Test" --section="Column 1" asana mark tasks --workspace="Personal Projects" --project="Test" --section="Column 1" --completed asana mark tasks --workspace="Personal Projects" --project="Test" --section="Column 1" --not-completed asana move tasks --workspace="Personal Projects" --from-project="Test" --from-section="Column 1" --to-section="Column 2" Options: --help Show this message and exit. Commands: delete list mark move
Most command outputs line json and works well with the jq command line tool.
Examples:
Create csv of tasks within a project where the columns are id, name, section.
$ asana list tasks --workspace="Personal Projects" --project="Test" | jq -r '[.id,.name,.memberships[].section.name] | @csv' > tasks.csv
make install
make test