cpkgs

command module
v2.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2024 License: MIT Imports: 5 Imported by: 0

README

CPKGS

A CLI application to easily install C modules and run your code fast.

Usage

You have multiple commands avaible. To see them all type: cpkgs help

Initializing a new project

To do this you would need to use the cpkgs init command, you will be asked about which compiler to use and how the output filename should be called, you can use -d flag for default values

Installing a package

To do this you would need to use the cpkgs add command. You need to provide github repo of the package and header file name.

Running the project

Finally, when you are all done, to run the project you need to use the cpkgs run command with the file you want to run passed as an argument.

Removing the project

You aren't satisfied by it, no problem, you can use the cpkgs remove command by providing directory name and it will be completely removed.

Installing the entire project

By using the cpkgs install command, all of the packages will be fetched from the cpkgs.json file and will be installed automatically.

Note: the cpkgs directory SHOULD BE ALWAYS placed in the .gitignore file and packages should be installed with the specific command to do so.

I don't do this on the example directory on purpose only to showcase how the entire project will look but you SHOULD ALWAYS do this.

Updating packages

By using the cpkgs update command you can update a specific package or by providing -a flag you can update all packages at once.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL