Skip to content
/ consowrap Public

It is a simple console wrapper application made in Rust.

Notifications You must be signed in to change notification settings

kip2/consowrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

English | 日本語

consowrap

A simple tool that manages command-line tools and executes commands all in one place.

Prerequisites

  • Create a directory to store your command-line tools and place them accordingly.
  • This software is not distributed as binary files. Please build it if you wish to use it.

Build

Execute the following in an environment where Rust is installed:

cargo build --release

Place the built executable in your directory. The executable will be generated at the following path:

./target/release/consowrap

Grant Execution Permissions

Grant execution permissions to the placed file:

chmod +x consowrap

Configuration

Specify the directory for command-line tools in the .env file.

In the .env file, specify the directory path where you want to manage your command-line tools. The format is as follows:

# Format of notation
COMMAND_DRECTORY_PATH="your_commands_directory_path";

# Example
COMMAND_DRECTORY_PATH="./Commands";

If a .env file does not exist, one will be automatically created. Include the directory path for your command-line tools in the created .env file.

Usage

List Commands

Use the following command to display a list of available commands (files in the directory specified in .env):

./consowrap -l

# Or
./consowrap --list

Note that this will display only the files within the directory specified in .env, including non-command-line tools.

Use Commands

Execute commands in the following format:

./consowrap command arg1 arg2

# If adding options
./consowrap command -option arg1 arg2

Help

If you need assistance, call up help:

./consowrap -h

# Or
./consowrap --help

About

It is a simple console wrapper application made in Rust.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages