Skip to content

Jose-M12/cli-ticket-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

CLI Ticket Viewer

A command-line interface (CLI) tool written in Python to interact with the Simple Support Ticket API. This tool demonstrates proficiency with command-line applications and REST API consumption.

Features

  • List all tickets or filter by status.
  • View the details of a specific ticket.
  • Create a new ticket directly from the terminal.

Prerequisites

  • Python 3
  • requests library (pip install requests)
  • The "Simple Support Ticket API" project must be running.

Usage

List all open tickets:

python tickets.py list --status Open

View ticket with ID 1:

python tickets.py view 1

Create a new ticket:

python tickets.py create --name "John Doe" --email "john@example.com" --subject "CLI Creation Test" --body "My issue is..."

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages