All Projects → blunt1337 → wtfcmd

blunt1337 / wtfcmd

Licence: other
Run commands by fully custom aliases

Programming Languages

go
31211 projects - #10 most used programming language
powershell
5483 projects
shell
77523 projects

Projects that are alternatives of or similar to wtfcmd

Kommander Ios
A lightweight, pure-Swift library for manage the task execution in different threads. Through the definition a simple but powerful concept, Kommand.
Stars: ✭ 167 (+943.75%)
Mutual labels:  command
Xxexploiter
Tool to help exploit XXE vulnerabilities
Stars: ✭ 243 (+1418.75%)
Mutual labels:  command
z-pot
project overview tool, used to analyze the amount of code, the number of files, code statistics and so on.
Stars: ✭ 18 (+12.5%)
Mutual labels:  command
You Dont Need Gui
Stop relying on GUI; CLI **ROCKS**
Stars: ✭ 4,766 (+29687.5%)
Mutual labels:  command
Neodoc
Beautiful, hand-crafted commandline interfaces for node.js
Stars: ✭ 221 (+1281.25%)
Mutual labels:  command
Aiforms.effects
AiForms.Effects for Xamarin.Forms
Stars: ✭ 245 (+1431.25%)
Mutual labels:  command
Hiboot
hiboot is a high performance web and cli application framework with dependency injection support
Stars: ✭ 150 (+837.5%)
Mutual labels:  command
node-evented-command
provides simple command/event handling for evented systems like cqrs
Stars: ✭ 15 (-6.25%)
Mutual labels:  command
Serve
a static http server anywhere you need one.
Stars: ✭ 233 (+1356.25%)
Mutual labels:  command
laravel-admin
LaravelAdmin是基于PHP开发的基础管理后台系统,做到开箱即用,为新项目开发省去了基础功能开发的步骤;此系统采用前后端分离模式,后端使用Laravel,前端使用vue;主要包含:登录、注销、可视化数据大屏、管理员、角色管理、菜单管理、权限管理、错误日志、登录日志、访问日志、获取服务器CPU使用率、内存使用率等功能。后端主要使用Artisan命令行、Jobs消息队列、 Rules验证规则、Restful API、Composer扩展包、Redis秒杀、Extend自定义扩展类:微信授权、钉钉告警推送、MongoDB、阿里云OSS、七牛云存储、七牛云直播、php-jwt TOKEN、Phpoffice、MySql数据库字典、Elasticsearch等技术。
Stars: ✭ 45 (+181.25%)
Mutual labels:  command
Discord.ts
🤖 Create your discord bot by using TypeScript and decorators!
Stars: ✭ 172 (+975%)
Mutual labels:  command
Webpack Command
[DEPRECATED] Lightweight, modular, and opinionated webpack CLI that provides a superior experience
Stars: ✭ 218 (+1262.5%)
Mutual labels:  command
Linux
🐧 以“标签”形式对Linux的命令进行的梳理
Stars: ✭ 15 (-6.25%)
Mutual labels:  command
Pydesignpattern
Design Pattern that described by Python, This is the source code for the book of Everybody Know Design Patterns.
Stars: ✭ 174 (+987.5%)
Mutual labels:  command
say-it
TTS in command line -- Pronounce the Chinese and English words you typed in.
Stars: ✭ 19 (+18.75%)
Mutual labels:  command
Cbox
convert any python function to unix-style command
Stars: ✭ 154 (+862.5%)
Mutual labels:  command
Commando
🐳 Container registry which provides you all the commands you need in a lightweight Alpine image. DevOps and SysOps best friend. https://command-not-found.com
Stars: ✭ 243 (+1418.75%)
Mutual labels:  command
RS232-Monitor-Database
🔌📺 This is a public database for all the known RS232 commands for professionnal screens, monitors and projectors. Feel free to contribute !
Stars: ✭ 22 (+37.5%)
Mutual labels:  command
vscode-commands
Run commands from Tree View / Status Bar / Quick Pick.
Stars: ✭ 45 (+181.25%)
Mutual labels:  command
QshOni
The QShell on IBM i library contains useful CL wrapper commands to allow QShell and PASE apps to be called and consumed from regular IBM i jobs via CL, RPG or COBOL programs.
Stars: ✭ 34 (+112.5%)
Mutual labels:  command

What's The Fu*king command!

  • You want to run a command and you don't remember it?
  • You have co-workers asking you for commands every time?
  • You have a ton of shell scripts and don't remember what each one is for?

Build a single json/yaml file with all the commands available in your project, and anyone working with you, know in seconds how to run everything.

Features

  • Run commands with ‘wtf my_command_name [params…]’, all defined in a json/yaml file.
  • Auto-generated --help! so you know what they are for and how to use them.
  • Autocomplete all of your commands and flags!
  • Possibility to have custom commands for bash and powershell.exe, of course.
  • So much more, like parameter checks, built in functions to print errors, etc.

Installation

More info on the doc website http://wtf.blunt.sh/#getting-started

Simple example

Now, let's say we use docker. To run our docker machine, we use the command: docker run -it --rm -p 8080:80 -v .:/app --name myproject myimage

Let's see how we would use it with wtf instead: wtf docker start

And how you'd need to configure it in the .wtfcmd.json file:

[
    {
        "group": ["docker", "dkr"],
        "name": ["start", "s"],
        "desc": [
            "Start an http server on the port 8080 by default.",
            "Files from the current directory are mapped to /app"
        ],
        "cmd": "docker run -it --rm -p {{.port}}:80 -v .:/app --name myproject myimage",
        "flags": [
            {
                "name": ["port", "p"],
                "desc": "Port number",
                "test": "$uint",
                "default": "8080"
            }
        ]
    }
]

Step by step

Base structure with your command:

[
    {
        "cmd": "docker run -it --rm -p 8080:80 -v .:/app --name myproject myimage",
    }
]

The name of my command will be wtf docker start, but want an alias wtf dkr s too. So i add to my object:

"group": ["docker", "dkr"],
"name": ["start", "s"],

I want my team to know about this command, so i add:

"desc": [
    "Start an http server on the port 8080 by default.",
    "Files from the current directory are mapped to /app"
],

I want the port number to be a parameter:

"flags": [
    {
        "name": ["port", "p"],
        "desc": "Port number",
        "test": "$uint",
        "default": "8080"
    }
]

and change the 8080 of my command to {{.port}}: "cmd": "docker run -it --rm -p {{.port}}:80 -v .:/app --name myproject myimage",

Check the full configuration documentation for more.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].