asana-cli

CLI for asana.


License
MIT
Install
pip install asana-cli==0.0.3

Documentation

asana-cli

PyPI Version License Status

Python wrapper for asana. Requires Python 3.6+.

Install

pip3 install --upgrade asana-cli

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

Usage

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

Development

Setup

make install

Test

make test