Skip to content

ZeroDoctor/zdcli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zdcli

my cli tool

Depends on

Install

From Source

git clone https://github.com/zerodoctor/zdcli.git && \
cd zdcli && \
make build install

From Github

mkdir ~/scripts || true && \
curl -o zd.tar.xz -L https://github.com/ZeroDoctor/zdcli/releases/download/v1.1.0/zd-amd64-unix.tar.xz && \
tar -xvf zd.tar.xz

if its the first install its advise to run the command below:

zd setup && zd setup --ls

Usage

NAME:
   zd - A new cli application

USAGE:
   zd [global options] command [command options] 

COMMANDS:
   alert       notifies user when an event happens
   edit, e     edits a lua script
   list, ls    list current lua scripts
   lite        interacts with a sqlite database
   new, n      create a new lua script
   paste       common commands to interact with pastebin.com. May need to login via this cli before use.
   remove, rm  remove a lua script or a directory
   setup       setup lua, editor, and dir configs
   ui          opens a custom terminal emulator
   vault, v    commands that communicates with a vault server
   version     current version of cli
   weed, fs    
   help, h     Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h  show help

To run a script simply run:

   zd test func_unix

where "test" is the name of the lua file in './lua/scripts' and "func_unix" is the name of the function inside test.lua