attendance-client

module
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2021 License: MIT

README

奉行クラウド打刻 & Slack通知 CLI

Attendance Bugyo Cloud Punchmark & post Slack message CLI

Installation

Windows

  • Install with PowerShell
iwr https://github.com/tomtwinkle/attendance-client/releases/download/v0.0.5/attendance_windows_amd64.zip -OutFile attendance.zip && Expand-Archive -Path attendance.zip && rm attendance.zip
cd attendance
.\attendance.exe help
  • Generate Slack Token
  1. https://api.slack.com/apps を開く
  2. [Create New App] を選択
  3. [OAuth & Permissions] を選択
  4. [User Token Scopes] を選択 [channels:read, groups:read, chat:write] を追加
  5. [Install to Workspace] を選択
  6. OAuth Access Token [Copy] を選択
  • Add App to Slack channel

チャンネルにメッセージを投稿するためにはチャンネルにアプリを追加する必要があります.

  1. [(i) チャンネル詳細] を選択
  2. [... その他] を選択
  3. [アプリを追加する] を選択
  4. 作成したアプリを検索し、[追加]を選択. [表示する]となっている場合は追加は不要です.

How to use CLI

  • 出勤
.\attendance punchmark --type in
or 
.\attendance pm -t in
  • 退出
.\attendance punchmark --type out
or 
.\attendance pm -t out
  • 外出
.\attendance punchmark --type go
or 
.\attendance pm -t go
  • 再入
.\attendance punchmark --type return
or 
.\attendance pm -t return

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL