Skip to main content

CLI for asana.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

asana-cli-0.0.3.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

asana_cli-0.0.3-py3-none-any.whl (6.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page