schedule list_daily#

Description#

作業計画から求めたアサイン時間を日ごとに出力します。

Examples#

以下のコマンドは、2022-01-01以降の日毎のアサイン時間を出力します。

$ annoworkcli schedule list_daily --workspace_id org --start_date 2022-01-01 \
 --format json --output out.json
out.json#
[
   {
      "date": "2022-01-02",
      "job_id": "11d73ea0-ed87-4f24-9ef6-68afcb1fdca7",
      "job_name": "MOON",
      "workspace_member_id": "50c5587a-219a-47d6-9641-0eb273996966",
      "user_id": "alice",
      "username": "Alice",
      "assigned_working_hours": 5.0
   },
]

Usage Details#

作業計画から求めたアサイン時間を日ごとに出力します。

usage: annoworkcli schedule list_daily [-h] [--debug]
                                       [--annowork_user_id ANNOWORK_USER_ID]
                                       [--annowork_password ANNOWORK_PASSWORD]
                                       [--endpoint_url ENDPOINT_URL]
                                       [-w WORKSPACE_ID]
                                       [-u USER_ID [USER_ID ...]]
                                       [-j JOB_ID [JOB_ID ...]]
                                       [--start_date START_DATE]
                                       [--end_date END_DATE] [-o OUTPUT]
                                       [-f {csv,json}]

Named Arguments#

-w, --workspace_id

対象のワークスペースID。未指定の場合は環境変数`ANNOWORK_WORKSPACE_ID`を使用します。

-u, --user_id

絞り込み対象のユーザID

-j, --job_id

取得対象のジョブID

--start_date

取得する範囲の開始日

--end_date

取得する範囲の終了日

-o, --output

出力先

-f, --format

Possible choices: csv, json

出力先のフォーマット

Default: 'csv'

global optional arguments#

--debug

HTTPリクエストの内容やレスポンスのステータスコードなど、デバッグ用のログが出力されます。

--annowork_user_id

Annoworkにログインする際のユーザーIDを指定します。

--annowork_password

Annoworkにログインする際のパスワードを指定します。

--endpoint_url

Annowork WebAPIのエンドポイントを指定します。指定しない場合は https://annowork.com です。