Skip to content

Skyppex/cmdgate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cmdgate

cmdgate provides a way to call cmd commands from other CLIs such as bash from WSL.

Installation

  • Using scoop
scoop bucket add sky-bucket https://github.com/skyppex/sky-bucket
scoop install sky-bucket/cmdgate
  • Build it your self Make sure you have cargo and rustc installed. Then pull the repo onto your machine.
git clone https://github.com/Skyppex/cmdgate.git

Navigate to the path containing the cargo.toml file. Make sure to take a look at the code so you know its not malware (i had some problems with my anti malware software netralizing the binary when i ran it). Run cargo build --release and the executable will be dumped in the ./target/release folder. From there you have the binary and can execute it from your command line. :D It's recommended to add it to your PATH or copy it to a folder already in your PATH.

Usage

At any time when running the command you can use -h or --help to see all the options available.

Options

  • -s or --source -> Path to file to read from, otherwise it uses stdin
  • -d or --destination -> Path to file to write to, otherwise it uses stdout
  • -c or --command -> cmd command to run (REQUIRED)
  • -v or --version -> This will print the version number

Pull Requests & Issues

If you have some functionality you wish to add then make a PR. If you find a bug or want to discuss something about the tool make an issue out of it and we can discuss it :D

License

This tool is under CC0 so feel free to do whatever you want with it with no obligation to credit me.

About

A small tool I made so you can run DOS commands from other shells.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages