Giter VIP home page Giter VIP logo

stdirgen's Introduction

Stdirgen - CLI File/Directory Generation

Static Badge Codecov branch GitHub Workflow Status (with event) GitHub Workflow Status (with event) GitHub Workflow Status (with event) GitHub release (with filter) GitHub all releases


What is Stdirgen?

Stdirgen is a Rust CLI tool used to generate enumerated files or directories.

How to Install

Macos with Homebrew

brew tap jozhw/stdirgen
brew install stdirgen

Other Operating Systems

  • Navigate to https://github.com/jozhw/stdirgen/releases
  • Download the most recent release that matches your operating system
  • The builds are as follows:
    • aarch64-apple-darwin
    • aarch64-linux-gnu
    • universal-apple-darwin
    • x86_64-apple-darwin
    • x86_64-linux-gnu
  • Install the build using cargo or selected package manager

Commands

A standardized file and directory generator.

Usage: stdirgen <COMMAND>

Commands:
 directory
 file
 help       Print this message or the help of the given subcommand(s)

Options:
 -h, --help     Print help
 -V, --version  Print version

Sub Commands

Directory

Usage: stdirgen directory [OPTIONS] --name <NAME>

Options:
  -n, --name <NAME>                Name of directory, enumeration will be appended at the end fo the name
  -p, --path <PATH>                Optional: Path to directory of interest to start the creation if null will use current d
irectory
  -i, --iter <ITER>                Sets the number of times iteration occurs, if null value is set at 1 [default: 1]
  -s, --start <START>              Optional: Sets the initial numbering, if null begins at 1 [default: 1]
  -f, --files <FILES>              Optional: Creates files within each directory created. Note: Requires the delimiter "."
and currently only allows for one delimiter "."
      --files-iter <FILES_ITER>    Sets the number of times iteration occurs
      --files-start <FILES_START>  Sets the start
  -h, --help                       Print help

File

Usage: stdirgen file [OPTIONS] --name <NAME>

Options:
  -n, --name <NAME>    Name of file, enumeration will be appended at the end of the name. Note: Must contain the delimiter
"." currently only allows for one delimiter "."
  -p, --path <PATH>    Optional: Path to directory of interest to start the creation if null will use current directory
  -i, --iter <ITER>    Sets the number of times iteration occurs, if null value is set at 1 [default: 1]
  -s, --start <START>  Optional: Sets the initial numbering, if null begins at 1 [default: 1]
  -h, --help           Print help

stdirgen's People

Contributors

jozhw avatar

Watchers

 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.