Code Monkey home page Code Monkey logo

convert_beginning_whitespaces_rust's Introduction

Convert Beginning Spaces or Tabs

Convert either beginning spaces to tabs, or tabs to spaces.

The default number of spaces is 4.

Build

cargo build --release

Usage

convert_beginning_whitespaces_rust --ws-from space --comment-char "*" --num-spaces 4

# if you need help
convert_beginning_whitespaces_rust --help

Help

Convert beginning whitespaces from space to tab, or vice versa

Usage: convert_beginning_whitespaces_rust [OPTIONS] --ws-from <WS_FROM> [FILES]...

Arguments:
  [FILES]...  Files to operate on

Options:
  -n, --num-spaces <NUM_SPACES>      Number of spaces to convert into / from [default: 4]
  -w, --ws-from <WS_FROM>            Convert from spaces or from tabs [possible values: space, tab]
  -c, --comment-char <COMMENT_CHAR>  Optional: character that starts a multi-line comment
  -h, --help                         Print help
  -V, --version                      Print version

convert_beginning_whitespaces_rust's People

Contributors

toddnguyen47 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.