eddique / argo

A build tool CLI for scaffolding C projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

argo Logo argo Logo

A build tool CLI for scaffolding C projects

Usage

Format

argo [cmd] <option>

Commands

# Usage:
argo [new] <project_name> # scaffolds a project
argo [add] <library_name> # adds a library
argo [build] <args> # builds the application
argo [run] <args> # runs the application with supplied args
argo [install] <args> # installs the argo managed binary
argo [uninstall] <bin_name> # uninstalls an argo manaaged binary
argo [ls] # lists argo managed binaries
argo [compress] # compresses a file and creates a C header with the data in hexadecimal format
argo [--version] # prints installed argo version
argo [--help] # displays usage menu

Examples

argo new project
cd project
argo build
argo run
argo install
argo ls
argo uninstall project
argo compress index.html
cd ..
rm -rf project
argo --version
argo --help

new

Create a new project in the current working directory

argo new my_project

This command scaffolds the project to the following:

my_project
├── .vscode
│   └── launch.json
│   └── settings.json
│   └── tasks.json
├── Dockerfile
├── README.md
├── include
│   └── common.h
├── makefile
└── src
    └── main.c

add

argo add libev

build

argo build

install

argo install

run

argo run

About

A build tool CLI for scaffolding C projects

License:MIT License


Languages

Language:C 97.2%Language:Makefile 2.8%