sagiegurari/shell2batch

Coverts simple basic shell scripts to windows batch scripts

cargo-make a way to write simple tasks with shell scripts without duplicating their code for each platform

shell2batch



Coverts simple basic shell scripts to windows batch scripts.

  • Overview
  • Usage
  • Installation
  • API Documentation
  • Contributing
  • Release History
  • License

Overview

While it is not really possible to take every shell script and automatically convert it to a windows batch file, this library provides a way to convert simple basic shell commands to windows batch commands.
The original goal of this library is to provide users of cargo-make a way to write simple tasks with shell scripts without duplicating their code for each platform.

It is possible to provide custom conversion hints by using the # shell2batch: prefix (see below example).

Usage

Simply include the library and invoke the convert function as follows:

Installation

In order to use this library, just add it as a dependency:

API Documentation

See full docs at: API Docs

Contributing

See contributing guide

Release History

See Changelog

License

Developed by Sagie Gur-Ari and licensed under the Apache 2 open source license.

Issues

Collection of the latest Issues

AdamRzepka

AdamRzepka

Comment Icon2

cp -r dir_a dir_b translates to xcopy /e dir_a dir_b

If dir_b does not exist (which is probably the most common case), xcopy prompts:

You can use /i switch to suppress this and always assume 'directory'.

Note that, creating a directory before copying doesn't help much. If destination dir already exist, behavior of cp and xcopy is different: xcopy copies only content of source directory, while cp copies also source directory itself.

Versions

Find the latest versions by id

0.4.4 - Feb 06, 2022

release

0.4.3 - Nov 19, 2021

0.4.2 - Sep 28, 2019

  • Add support for touch command #9
  • Add support for echo on/off #10

0.4.1 - Jul 23, 2019

0.4.0 - Jun 23, 2019

0.3.1 - Jun 16, 2019

0.3.0 - Apr 30, 2019

0.2.7 - Jan 17, 2019

0.2.6 - Jan 02, 2019

0.2.5 - Dec 10, 2018

0.2.4 - Nov 17, 2018

0.2.3 - Nov 14, 2018

0.2.2 - Nov 04, 2018

0.2.1 - Oct 31, 2018

0.2.0 - Aug 30, 2018

0.1.23 - Aug 09, 2018

0.1.22 - Jul 22, 2018

0.1.21 - Jun 22, 2018

0.1.20 - May 29, 2018

0.1.19 - May 18, 2018

0.1.18 - May 06, 2018

0.1.17 - Mar 20, 2018

0.1.16 - Mar 13, 2018

0.1.15 - Mar 12, 2018

0.1.14 - Mar 09, 2018

0.1.13 - Mar 09, 2018

0.1.12 - Feb 23, 2018

0.1.11 - Feb 09, 2018

0.1.10 - Jan 01, 2018

0.1.9 - Dec 17, 2017

Information - Updated Jul 18, 2022

Stars: 31
Forks: 6
Issues: 1

This is an example of a Rust server that functions as a remote schema for...

Rust + Hasura Rust server that functions as a Hasura

This is an example of a Rust server that functions as a remote schema for...

Newport Engine is a modular 2D and 3D game engine built in Rust for Rust

It is designed to be easily extendable and easy to use

Newport Engine is a modular 2D and 3D game engine built in Rust for Rust

Newport Engine is a modular 2D and 3D game engine built in Rust for Rust

It is designed to be easily extendable and easy to use

Newport Engine is a modular 2D and 3D game engine built in Rust for Rust

liboqs-rust: Rust bindings for liboqs

Qyantum Safe liboqs rust bindings

liboqs-rust: Rust bindings for liboqs

msgflo-rust: Rust participant support for MsgFlo

Flowhub visual programming IDE

msgflo-rust: Rust participant support for MsgFlo
Actix

1.0K

How to be a full stack Rust Developer

Read Rust the Rust blog posts at Steadylearner

How to be a full stack Rust Developer

Rust library translation (rust-src/rust-std/stdlib/rustlib translation)

This is the place to translate Having a documentation in your native language is essential if you don't speak English, and still enjoyable even if...

Rust library translation (rust-src/rust-std/stdlib/rustlib translation)

False Positive for rust-lang/rust#83583

The deprecation lint proc_macro_derive_resolution_fallback is intended to catch proc macro generated code that refers to items from parent modules that should not be in scope:

False Positive for rust-lang/rust#83583

A CHIP-8 & SuperChip interpreter written in Rust using rust-sdl2

If you're getting compile errors it may be because

A CHIP-8 & SuperChip interpreter written in Rust using rust-sdl2

Rust-Svelte-on-Rust

Starter template for Rocket backend server

Rust-Svelte-on-Rust

xbuild is a build tool for rust and rust/flutter projects with support for cross compiling...

xbuild is a build tool for rust and rust/flutter projects with support for cross compiling and

xbuild is a build tool for rust and rust/flutter projects with support for cross compiling...
Facebook Instagram Twitter GitHub Dribbble
Privacy