egis / papertrail-python-cli

1 stars 9 forks source link

'pt test' command not found on Windows #70

Open coertvm opened 7 years ago

coertvm commented 7 years ago

I installed the Windows version of pt from http://papertrail.s3.amazonaws.com/public/papertrail-cli-setup.exe.

When I run 'pt test', I get the following:

Usage: pt-script.py [OPTIONS] COMMAND [ARGS]...

Error: No such command "test".

Also 'pt --help' doesn't show 'test' to be available...

moshloop commented 7 years ago

Can you provide the output of pt --help?

coertvm commented 7 years ago

`> pt --help [build] Warning: build command is not supported on Windows [docker] No module named sh [test] No module named pathtools.patterns [upgrade] No module named progressbar Usage: pt-script.py [OPTIONS] COMMAND [ARGS]...

Options: --site TEXT Name of the file with site credentials --username TEXT or use the PT_USER/PT_API_USER environment variable --password TEXT or use the PT_PASS/PT_API_PASS environment variable --host TEXT or use the PT_API environment variable --help Show this message and exit.

Commands: deploy Deploys a package from a local FILE deploy_ci Deploys a package by downloading the latest... deploy_url download Downloads a remote PATH to DEST_FILE download_script Downloads a remote SCRIPT to DEST_FILE eval Evaluates script on the server execute Executes a script FILE on the server export Exports an ENTITY or a list of entities if no... form get Performs a generic GET request to a provided... import Imports an entity from a provided FILE. info prints the document details login Set the site credentials new_token Generates and outputs a new token for a... post Performs a generic POST request to a provided... pql Executes a PQL query and outputs the result. redeploy Redeploys workflows service Manages a local Papertrail service. sessions Lists currently active sessions on the... update_doc Updates a document located at NODE/FILE from... update_script Uploads and updates the script document from... upload Uploads FILE to PATH.`