Command Line Interface Toolchain
CLIT is a collection of small command-line utilities designed to make common terminal tasks simpler and faster.
| Command | Description |
|---|---|
clit fetch |
Download files from URLs |
clit mkcd |
Create a directory and enter it |
clit crun |
Compile and run a C file |
clit nfile |
Create multiline files from the terminal |
clit -h |
Show help |
clit -v |
Show version |
Clone the repository:
git clone https://github.com/EdennsAltacc/clit.git
cd clitBuild CLIT with GCC:
gcc src/clit.c -o build/clit -lcurlTo make clit available system-wide on Unix-like systems:
sudo mv build/clit /usr/local/bin/clitclit fetch -u https://example.com/file.txt -o file.txtclit mkcd my-projectclit crun main.cCreate a file directly from the terminal:
clit nfile -f HelloWorld.cppEnter the file contents line by line and finish with:
!<EOF>
Example:
#include <iostream>
int main() {
std::cout << "Hello world!\n";
return 0;
}
!<EOF>
For faster usage, CLIT can be aliased:
alias cl=clitThen:
cl fetch ...
cl mkcd project
cl crun main.c
cl nfile -f HelloWorld.cpp- GCC or another C compiler
- libcurl
- A supported operating system
CLIT is licensed under the MIT License.
See License for more information.