helpscout/helpscout-cli-php

Help Scout 命令行客户端

0.0.1 2015-05-27 21:41 UTC

This package is auto-updated.

Last update: 2024-08-29 04:31:00 UTC


README

⚠️ Help Scout 的 v1 API 已被弃用,使此项目过时。请参阅 Mailbox API v2 文档 ⚠️

Help Scout 命令行工具 Build Status Code Climate

命令行界面用于 Help Scout :: API 示例应用

一个简单的命令行客户端应用程序,可以与 Help Scout 一起使用。这是使用 Symfony ConsolePHP API 客户端 构建的。

这是一个用于展示 Help Scout API 的示例项目。通常更常见的是使用 API 来构建

  • 与您其他工具的定制集成
  • 同步工具
  • 内部网络仪表板界面
  • 或成千上万的其他事情!

但是,我们热爱程序员,Help Scout 在命令行上也有一种神奇的感觉!

快速入门

从命令行运行 bin/helpscout 文件。它将提示您输入您的 API 密钥。它将在 ~/.helpscout.yml 文件中存储一个 API 令牌。

帮助

Help Scout Command Line Client version 0.0.1 by Help Scout

Usage:
  command [options] [arguments]

Options:
  -h, --help            Display this help message
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi            Force ANSI output
      --no-ansi         Disable ANSI output
  -n, --no-interaction  Do not ask any interactive question
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Available commands:
  customer   Show customer details
  help       Displays help for a command
  list       Lists commands
  mailbox    Show mailbox details
  mailboxes  List all mailboxes
  setup      Configure this Help Scout client
  version    Show version information
  zen        Display a Zen koan, used as an API heartbeat

示例

依赖项

此应用程序需要 PHP 5.5 和 Composer。