Skip to content

chrisputnam9/pcucli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PCUCLI - PHP ClickUp Command Line Interface

Latest Version

Download Latest Version (1.3.0):

https://raw.githubusercontent.com/chrisputnam9/pcucli/master/dist/pcucli

Latest Version Hash (md5):

f87a99f0a6ec681362f989c6cefa9bb3

Install PCUCLI

  1. Make sure you have PHP, or install it if not

  2. Run this code in a download folder or temporary location:

     curl https://raw.githubusercontent.com/chrisputnam9/pcucli/master/dist/pcucli > pcucli
     chmod +x pcucli
     sudo ./pcucli install
    
  3. Test success by running in a new terminal session:

     pcucli version
    

Updating

The script will periodically check for updates autmoatically and inform you when an update is available.

If an update is available, you can run the following to install the update:

sudo pcucli update

USAGE:

pcucli <method> (argument1) (argument2) ... [options]

----------------------------------------------------------------------------------------------------------------------
| METHOD                 | INFO                                                                                      |
----------------------------------------------------------------------------------------------------------------------
| backup                 | Backup a file or files to the configured backup folder                                    |
| clear                  | Clear the screen                                                                          |
| eval_file              | Evaluate a php script file, which will have access to all internal methods via '$this'    |
| exit                   | Exit the command prompt                                                                   |
| get                    | GET data from the ClickUp API.  Refer to https://clickup.com/api/                         |
| help                   | Shows help/usage information.                                                             |
| install                | Install a packaged PHP console tool                                                       |
| post                   | POST data to the ClickUp API.  Refer to https://clickup.com/api/                          |
| prompt                 | Show interactive prompt                                                                   |
| update                 | Update an installed PHP console tool                                                      |
| version                | Output version information                                                                |
----------------------------------------------------------------------------------------------------------------------
To get more help for a specific method:  pcucli help <method>

----------------------------------------------------------------------------------------------------------------------
| OPTION                 | TYPE                              | INFO                                                  |
----------------------------------------------------------------------------------------------------------------------
| --allow-root           | (boolean)                         | OK to run as root without warning                     |
| --api-cache            | (boolean)                         | Whether to cache results                              |
| --ssl-check            | (boolean)                         | Whether to check SSL certificates with curl           |
| --stamp-lines          | (boolean)                         | Stamp / prefix output lines with the date and time    |
| --verbose              | (boolean)                         | Enable verbose output                                 |
----------------------------------------------------------------------------------------------------------------------
Use no- to set boolean option to false - eg. --no-stamp-lines

About

PHP ClickUp CLI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages