t is a command line tool for testing on your terminal.

Related tags

Command Line t
Overview

t

t is a command line tool for testing on your terminal.

Terminal

Installation

$ go get github.com/yusukebe/t/cmd/t

Usage

Basic usage:

$ t hello hello # => PASS
$ t hello hell # => FAIL

With pipe:

$ echo "hello" | t hello # => PASS

Eval:

$ t -e 10 "5*2" # => PASS

With operator

$ t -o ">" 10 "3*2" # => PASS

Regular expression:

$ t -m 'hello+' helloooooo # => PASS

With jq:

$ echo '{ "message": "hello" }' | jq -r .message | t hello # => PASS
$ echo '{ "number": 5 }' | jq -r .number | t 10 -o '>' # => PASS

With rj, test the status is not error:

$ rj http://example.com/ | jq -r .code | t 500 -o '>'

Author

Yusuke Wada https://github.com/yusukebe

License

MIT

You might also like...
ls Xtended : A command line utility which lets you navigate through terminal like a pro 😎.
ls Xtended : A command line utility which lets you navigate through terminal like a pro 😎.

Navigate through terminal like a pro 😎 💻 Demo • ⚗️ Installation • 🐜 Contribution • ❗ Known Issues ❓ Why? It's a pain to cd and ls multiple times to

Simple command line serial terminal for the Zolatron 64

ZolaTerm Simple command line serial terminal for the Zolatron 64. Written in Go. I'm using Go routines for receiving text (so that it can be displayed

GoTTY is a simple command line tool that turns your CLI tools into web applications. An interactive command-line tool to manage your environments
An interactive command-line tool to manage your environments

goto An interactive command-line tool to manage your environments Overview You always need to login to some Linux machine or connect to a MySQL instan

Command line tool to show the weather information of your city

go-weather when you type weather city, it will show you the weather of the city you input. Useful API comes from openweathermap.org. You can registe

Command line tool to copy images from a camera SD card to your hard drive

Command line tool to copy images from a camera SD card to your hard drive

A simple tool which you can use to move through your directories from the command line

Fe What is Fe ? Fe is a simple tool which you can use to move through your direc

fofax is a fofa query tool written in go, positioned as a command-line tool and characterized by simplicity and speed.
fofax is a fofa query tool written in go, positioned as a command-line tool and characterized by simplicity and speed.

fofaX 0x00 Introduction fofax is a fofa query tool written in go, positioned as

Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies.
Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies.

asciigraph Go package to make lightweight ASCII line graphs ╭┈╯. Installation go get github.com/guptarohit/asciigraph Usage Basic graph package main

Comments
Releases(v0.0.1)
Owner
Yusuke Wada
Yusuke Wada
An open-source GitLab command line tool bringing GitLab's cool features to your command line

GLab is an open source GitLab CLI tool bringing GitLab to your terminal next to where you are already working with git and your code without switching

Clement Sam 2.1k Dec 30, 2022
🌿circumflex is a command line tool for browsing Hacker News in your terminal

??circumflex is a command line tool for browsing Hacker News in your terminal

Ben Sadeh 669 Jan 1, 2023
A command line tool to prompt for a value to be included in another command line.

readval is a command line tool which is designed for one specific purpose—to prompt for a value to be included in another command line. readval prints

Venky 0 Dec 22, 2021
The sntr command-line program gives you convenient access to Sentry directly from your terminal.

sntr: all of Sentry at your fingertips The sntr command-line program gives you convenient access to Sentry directly from your terminal. Disclaimer: th

Rodolfo Carvalho 0 Jan 31, 2022
a python command-line tool which draws basic graphs in the terminal

Termgraph A command-line tool that draws basic graphs in the terminal, written in Python. Graph types supported: Bar Graphs Color charts Multi-variabl

Marcus Kazmierczak 2.9k Dec 30, 2022
Holly🪴 o!rdr command line tool to upload replays to it from the terminal

Holly ?? o!rdr command line tool to upload replays to it from the terminal Holly is a CLI that allows you to upload osu! replays to o!rdr from the ter

sammyette 6 Apr 25, 2022
git-xargs is a command-line tool (CLI) for making updates across multiple Github repositories with a single command.

Table of contents Introduction Reference Contributing Introduction Overview git-xargs is a command-line tool (CLI) for making updates across multiple

Gruntwork 713 Dec 31, 2022
git-xargs is a command-line tool (CLI) for making updates across multiple GitHub repositories with a single command

git-xargs is a command-line tool (CLI) for making updates across multiple GitHub repositories with a single command. You give git-xargs:

Maxar Infrastructure 1 Feb 5, 2022
A command line tool for simplified docker volume command built with go

dockervol A command line tool for simplified docker volume command built with go. Features: Remove anonymous volume (beta) Remove volume by matching n

Moh Achun Armando 0 Dec 18, 2021
Watch your favourite anime using the video player of your choice directly from the command line

anime-cli Watch your favourite anime using the video player of your choice direc

Ruben Dewitte 4 Feb 10, 2022